On Thu, 2006-05-18 at 03:44 -0700, Abele Zhang wrote: > 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(
Fair enough. > 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: Unfortunately I am unable to help beyond this point. I see nothing wrong in the log. HttpClient clearly intends to re-use the connection DEBUG [HttpMethodBase] Should NOT close connection in response to directive: keep-alive I do not see HttpClient drop connections without a good reason, such as IOException shown below. I do not know what on earth Allegro-Software-RomPager/4.34 is and how standards conformant it is. You will have to run HttpClient under debugger on your own. Oleg > ___________________ > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
