netty5/example/src/main
tsu 3a4d30df4e Make SocksServer example compatible with curl --socks5-hostname
Motivation:

Socks5 proxy supports resolve domain at the server side. When testing
with curl, the SocksServer in example package only works for proxy
request with IP, not with domain name (`--socks5` vs
`--socks5-hostname`). As curl is widely used, it should work with
the example provided.

Modifications:

Passing address and port to the Socks5CommandResponse, so that it
works for curl.

Result:

`curl --socks5-hostname` works as expected.
2016-08-15 09:28:30 +02:00
..
java/io/netty/example Make SocksServer example compatible with curl --socks5-hostname 2016-08-15 09:28:30 +02:00
resources Add HTTP/2 Netty tiles example 2015-05-18 14:16:54 -07:00