Re:Re: Issue about keep alive timeout

2012-08-30 Thread zhh5919
Hi Mark, Got it. >You have just described a race condition. The fix is to ensure that unused >connections in the client pool timeout faster than Tomcat's keep-alive timeout. Thanks for your explanation and solution! Best Regards Hailei Zhang At 2012-08-30 15:52:09,"Ma

Re: Issue about keep alive timeout

2012-08-30 Thread Mark Thomas
zhh5919 wrote: >When HttpClient borrow a connection from ConnectionManager and write >something to this conneciton. In the meanwhile tomcat pepare to close >this connection due to keepalive timeout,so it don't read from this >connection and just close it. You have just described a race condition

Issue about keep alive timeout

2012-08-29 Thread zhh5919
Hi, Use HttpClient interacts with Tomcat 7.0.21 on Linux,Sometimes HttpClinet throws Socket Exception that error message is "Connection reset" While reading response header.Following is Tomcat config and Exception Stack Tomcat's Connector config: Exception Stack: Caused by: j