Re: Async httpclient with SOCKS5 proxy

2018-05-18 Thread Oleg Kalnichevski
On Thu, 2018-05-17 at 15:25 +, 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-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org



Async httpclient with SOCKS5 proxy

2018-05-17 Thread Khare, Aparna
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