DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24560>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24560

HttpClient loops endlessly while trying to retrieve status line





------- Additional Comments From [EMAIL PROTECTED]  2003-12-10 14:44 -------
Oleg, 
 
IMHO, if a specific thrown Exception is regarded as part of some 
normal/tolerable behaviour, it is safe to ignore that Exception 
(even without logging). 
 
This seems to be the case here! 
Our potential IOException is basically thrown by InputStream.available(), 
which means that there was a problem with retrieving the number of 
readable bytes from the stream. 
 
The exact reason for this problem does not matter. The IOException is 
a reliable signal for HttpClient that the HTTP connection should not be 
reused. 
 
By the way, the following two methods also silently ignore Exceptions. 
Do you think that this behaviour needs to be changed? 
HttpConnection.shutdownOutput() 
HttpConnection.closeSocketAndStreams() 
 
 
Christian

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

Reply via email to