Re: HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2014-02-16 Thread Philippe Mouawad
Hello Oleg, We have one enabled using: new DefaultHttpRequestRetryHandler(RETRY_COUNT, false) RETRY_COUNT is set to 0 by default but can be changed. Do you mean we should not set it to 0 ? Regards Philippe On Sat, Feb 15, 2014 at 4:39 PM, Oleg Kalnichevski ol...@apache.org wrote: On Sat,

How can I abort an aynsc request using HttpAsyncClient

2014-02-16 Thread Yoram Dayagi (Gmail)
Hi I would like to use HttpAsyncClient in order to execute async requests. Is it possible to abort an executing request from another thread? Thanks, --  Yoram Dayagi (Gmail) Sent with Airmail

Redirect erases header?

2014-02-16 Thread Yoram Dayagi (Gmail)
Hi I’m using HttpAsyncClient to execute an async request. I noticed that when requesting a GET request for a URL that redirects to another, a header I put in the request (Range: bytes=0-1000) is ignored and all content is returned in the response. Notes: 1. When accessing directly the

Re: HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2014-02-16 Thread Oleg Kalnichevski
On Sun, 2014-02-16 at 14:15 +0100, Philippe Mouawad wrote: Hello Oleg, We have one enabled using: new DefaultHttpRequestRetryHandler(RETRY_COUNT, false) RETRY_COUNT is set to 0 by default but can be changed. Do you mean we should not set it to 0 ? This obviously needs to be a positive

Re: How to know which port is newly created for the connection ?

2014-02-16 Thread Shawn Heisey
On 2/14/2014 2:15 PM, Kiran Chitturi wrote: I am using http client 4.3.2 and I have a few questions. 1) I am making lot of concurrent requests to a server. When creating requests, I want to debug and check which ports are newly created by the client. Currently, I can see the ports in

Re: How to know which port is newly created for the connection ?

2014-02-16 Thread Kiran Chitturi
On 2/16/14 8:23 PM, Shawn Heisey s...@elyograg.org wrote: On 2/14/2014 2:15 PM, Kiran Chitturi wrote: I am using http client 4.3.2 and I have a few questions. 1) I am making lot of concurrent requests to a server. When creating requests, I want to debug and check which ports are newly