You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by "Khare, Aparna" <ap...@sap.com> on 2018/05/17 15:25:02 UTC
Async httpclient with SOCKS5 proxy
Dear Users,
Can you please help me with the examples to configure Async HttpClient with SOCKS5 proxy..
I read that the same is not supported for Async httpclient..
Thanks,
Aparna
Re: Async httpclient with SOCKS5 proxy
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2018-05-17 at 15:25 +0000, Khare, Aparna wrote:
> Dear Users,
>
> Can you please help me with the examples to configure Async
> HttpClient with SOCKS5 proxy..
>
> I read that the same is not supported for Async httpclient..
>
> Thanks,
> Aparna
Hi Aparna
SOCKS5 support is built into classic i/o and is completely transparent
to the application protocol layer:
https://docs.oracle.com/javase/7/docs/api/java/net/Socket.html#Socket(j
ava.net.Proxy)
The non-blocking i/o (NIO) does not work like that and cannot be
transparently layered on top of SOCKS5. Support for SOCKS5 would need
to be specifically built into the I/O event processing logic, which
would be a very major undertaking.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org