pmarschik / apache-http-async-socks

Demo how to use Apache HTTP async client over a SOCKv4 proxy
2 stars 0 forks source link

Apache HTTP async client SOCKSv4 Connection Demo

Plugs into Apache's HTTP async client to open a connection via a SOCKSv4 proxy. This proxy can be set per request with the RequestConfig.

It currently only supports SOCKSv4. Adding SOCKSv4a and SOCKSv5 should be straightforward with the given extension points. Either a new session scheme socks5 could be added or the SOCKS connection handling be adapted like in java.net.SocksSocketImpl that can degrade von v5 to v4.

How it works