Hello,

> I'm using MultiThreadedConnectionManager with stale check enabled I'm
> getting a SocketException consistently when I don't use the connection for
> 2-3 minutes. If I understand stale checking correctly, it should create a
> new connection instead of throwing the exception.

Stale connection checking is a minimal effort, it does not guarantee
to detect all connections that are stale. Consider closing all
connections after 90 seconds of inactivity by calling
HttpConnectionManager.closeIdleConnections(timeout)

http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/HttpConnectionManager.html#closeIdleConnections(long)

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to