DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35322>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35322 ------- Additional Comments From [EMAIL PROTECTED] 2005-06-13 18:09 ------- Subba, Wouldn't this be a better fix? Index: src/java/org/apache/commons/httpclient/HttpConnection.java =================================================================== --- src/java/org/apache/commons/httpclient/HttpConnection.java (revision 190386) +++ src/java/org/apache/commons/httpclient/HttpConnection.java (working copy) @@ -499,7 +499,7 @@ // assume the connection is not stale. isStale = false; try { - if (inputStream.available() == 0) { + if (inputStream.available() <= 0) { try { socket.setSoTimeout(1); inputStream.mark(1); PS: if you know your way around SVN please submit your patch in diff -u format -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
