Thank you, guys. I will work in this direction, i.e. investigating what
the Connotate's software does with the response, and let you know the
results.

Sofya

-----Original Message-----
From: Michael Becke [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 9:44 PM
To: Commons HttpClient Project
Subject: Re: 'Socket closed' exception using


Hi Sofya,

I agree with Oleg, it seems that the server is closing the connection  
in the middle of a request.

> Does not this prove that the socket  is closed from the application
> side, i.e from inside the HTTPClient? Or it is possible for the  
> HttpConnection.close() to be called when a closed socket is detected  
> (to clean up the resources, etc.)?

Yes, HttpClient closes the connection when it encounters the Exception  
while writing the request.  see  
<http://jakarta.apache.org/commons/httpclient/xref/org/apache/commons/ 
httpclient/HttpMethodBase.html#2657>

Mike


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

Reply via email to