hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35322] - HTTP Connection Pooling not working with IBM JSSE/JRE
Date Mon, 13 Jun 2005 16:09:14 GMT
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 olegk@apache.org  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: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message