Joan Balagueró wrote:
Hello,
We're using IdleConnectionTimeoutThread.
The code is the following:
this.objHttp = new HttpClient(new MultiThreadedHttpConnectionManager());
this.ictt = new IdleConnectionTimeoutThread();
this.ictt.addConnectionManager(this.objHttp.getHttpConnectionManager());
Hello,
Then, I understand that idle connections are in ESTABLISHED state.
I could try:
this.ictt.setTimeoutInterval(1000);
this.ictt.setConnectionTimeout(1);
This should eliminate all established connections every second.
As I told you our problem is that, with our app, we don't know why
Subhash Chandran wrote:
Hi,
I recently moved RESTClient ( http://code.google.com/p/rest-client/ ) from
Commons HTTP to HTTP client.
Previously I was using BASIC and DIGEST authentication using the Commons
API. Now the example provided:
Subhash Chandran wrote:
Hi.
How do I specify the HTTP version to use in HTTP Client?
params.setParameter(CoreProtocolPNames.PROTOCOL_VERSION, version);
The example
in the site uses static methods in:
org.apache.http.params.HttpProtocolParams
I do not want to control this parameter
Sabarivasan Viswanathan wrote:
Hello,
I am having trouble disabling every scheme except DIGEST and sending
credentials preemptively.
What I see when I use Wireshark is that the first HTTP request sends
credentials in BASIC mode. The server sends a 401 challenge after which the
client sends the
Joan Balagueró wrote:
Hello,
Then, I understand that idle connections are in ESTABLISHED state.
I could try:
this.ictt.setTimeoutInterval(1000);
this.ictt.setConnectionTimeout(1);
This should eliminate all established connections every second.
Yes, it should
As I told you our problem
Thanks as always to a prompt response that answers all my questions.
Sabari
On Tue, Jul 29, 2008 at 5:14 AM, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
Sabarivasan Viswanathan wrote:
Hello,
I am having trouble disabling every scheme except DIGEST and sending
credentials preemptively.