hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abele Zhang" <abele.zh...@calix.com>
Subject RE: https persistent connection not happening.
Date Thu, 18 May 2006 10:44:32 GMT
Hi Oleg,

The hardware stay's in company's intranet. There is no way to let u
access it due to company's policy. :o(
>From the same httpclient log,  I do see httpConnections.close() at
around 12th http request. When goes to that extent, embedded server
can't handle more connections, so handshake connection get dropped. 
I looked through JSSE log, It shows same. No SSL session cache being
reused. Even though it's being added into client session cache.  
Here are some grep results I got: 
___________________
export control - no cached value available...
%% No cached client session
%% Cached client session: [Session-1, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% Cached client session: [Session-2, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% Cached client session: [Session-3, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% Cached client session: [Session-4, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% Cached client session: [Session-5, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% No cached client session
%% Cached client session: [Session-6, SSL_RSA_WITH_RC4_128_MD5]
%% Cached client session: [Session-7, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% No cached client session
%% Cached client session: [Session-8, SSL_RSA_WITH_RC4_128_MD5]
%% Cached client session: [Session-9, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% Cached client session: [Session-10, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% Cached client session: [Session-11, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
%% No cached client session
%% No cached client session
%% Cached client session: [Session-12, SSL_RSA_WITH_RC4_128_MD5]
%% No cached client session
___________________

Here are first httpConnection.close() I see in the log. It's after 12th
create new connection. 
_____________________________________

DEBUG [httpclient.wire.header] >> "[\r][\n]"
DEBUG [org.apache.commons.httpclient.HttpConnection] enter
HttpConnection.flushRequestOutputStream()
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Closing the
connection.
DEBUG [org.apache.commons.httpclient.HttpConnection] enter
HttpConnection.close()
DEBUG [org.apache.commons.httpclient.HttpConnection] enter
HttpConnection.closeSockedAndStreams()
 INFO [org.apache.commons.httpclient.HttpMethodDirector] I/O exception
(java.net.SocketException) caught when processing request: Connection
reset
DEBUG [org.apache.commons.httpclient.HttpMethodDirector] Connection
reset
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:168)

---------------------------------------------------------------------
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