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

Re: Fwd: HttpClient5 : simple example on how to configure timeout after build()

2018-05-17 Thread Shawn Heisey
On 5/17/2018 3:51 AM, Oleg Kalnichevski wrote: HttpClientBuilder in HC4 got overloaded with so many connection management parameters which could easily get rendered ineffective by explicitly passing an instance of HttpClientConnectionManager to the builder. The same could with HC5 would look

Re: Fwd: HttpClient5 : simple example on how to configure timeout after build()

2018-05-17 Thread /
Great! Thanks Oleg. On 17/05/18 13:00, Oleg Kalnichevski wrote: On Thu, 2018-05-17 at 02:21 +0300, / wrote: Thanks I understand. I would appreciate if some concrete code or pointer to examples is given regarding: 1) Create a shared HTTPClient 2) how a given thread is passed=given the shared

Re: Fwd: HttpClient5 : simple example on how to configure timeout after build()

2018-05-17 Thread Oleg Kalnichevski
On Thu, 2018-05-17 at 02:21 +0300, / wrote: > Thanks I understand. > > I would appreciate if some concrete code or pointer to examples is > given  > regarding: > > 1) Create a shared HTTPClient > 2) how a given thread is passed=given the shared client and changes,  > say, connection timeout AND

Re: Fwd: HttpClient5 : simple example on how to configure timeout after build()

2018-05-17 Thread Oleg Kalnichevski
On Wed, 2018-05-16 at 14:11 -0600, Shawn Heisey wrote: > On 5/16/2018 8:42 AM, Shawn Heisey wrote: > >   RequestConfig rc = > > RequestConfig.custom().setConnectTimeout(15000) > >           .setSocketTimeout(12).build(); > >   httpClient = HttpClients.custom().setDefaultRequestConfig(rc) > >

Re: Default IOReactorConfig instance has no socket timeout

2018-05-17 Thread Oleg Kalnichevski
On Wed, 2018-05-16 at 22:40 +0300, Дмитрий Жихарев wrote: > Oleg, > > realistically I would expect the default timeout to be around 5 > seconds, as is the default value in the > PoolingHttpClientConnectionManager ( https://github.com/apache/httpco > mponents- >