Index: HttpMethodBase.java =================================================================== RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java,v retrieving revision 1.159.2.8 diff -u -r1.159.2.8 HttpMethodBase.java --- HttpMethodBase.java 12 Aug 2003 18:45:03 -0000 1.159.2.8 +++ HttpMethodBase.java 30 Aug 2003 19:55:42 -0000 @@ -1322,7 +1322,8 @@ // FYI - this may indirectly invoke responseBodyConsumed. responseStream.close(); } catch (IOException e) { - // attempting cleanup, don't care about exception. + // the connection may not have been released, let's make sure + ensureConnectionRelease(); } } else { // Make sure the connection has been released. If the response