Hello Paolo,

HttpConnection.isOpen just checks the boolean flag in the
connection object, it doesn't perform any calls to the
underlying socket. Try calling conn.closeIfStale() before
checking if the connection is open:
http://jakarta.apache.org/httpcomponents/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpConnection.html#closeIfStale()

I can't tell whether that is reliable, though.

hope that helps,
  Roland


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

Reply via email to