hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: https persistent connection not happening.
Date Wed, 17 May 2006 15:25:45 GMT
On Tue, 2006-05-16 at 21:42 -0700, Abele Zhang wrote:
> Hi, 
> 
> I'm having an issue of https request handshaking on every request.
> Functionally, it works ok. But it caused my tiny embedded web server
> overloaded after couple requests. 
> I turned on the JSSE debug and saw handshaking on every request. And I
> tried add "Connection: keep-alive" and "Keep-Alive:300" in http header,
> didn't see any difference.
> Any suggestions are welcome. 
>  
> I'm using EasySSLProtocolSocketFactory added a bit tweaks with
> httpclient 3.0.1 and sun jdk 1.5.0_05-b05 on redhat ES4. 
> 
> Thanks. 
> 
> Abele
> 

Abele,

I think I know the cause of the problem. I believe the stale connection
check is likely to have failed and caused HttpClient to have dropped
those connections. Please disable the stale connection checking and see
if that makes any difference.

Cheers,

Oleg

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message