commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient MultiThreadedHttpConnectionManager.java
Date Fri, 26 Sep 2003 14:20:03 GMT
No problem.  I'm sorry it took so long to happen.

Mike

Adam R. B. Jack wrote:

> Thanks, this works for me. I appreciate the patch.
> regards
> Adam
> ----- Original Message ----- 
> From: <mbecke@apache.org>
> To: <jakarta-commons-cvs@apache.org>
> Sent: Thursday, September 25, 2003 8:44 PM
> Subject: cvs commit:
> jakarta-commons/httpclient/src/java/org/apache/commons/httpclient
> MultiThreadedHttpConnectionManager.java
> 
> 
> 
>>mbecke      2003/09/25 19:44:18
>>
>>  Modified:    httpclient/src/java/org/apache/commons/httpclient
>>                        MultiThreadedHttpConnectionManager.java
>>  Log:
>>  Fixes connection release problem.
>>  PR: 22800
>>  Submitted by: Michael Becke
>>
>>  Revision  Changes    Path
>>  1.25      +4 -4
> 
> jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThrea
> dedHttpConnectionManager.java
> 
>>  Index: MultiThreadedHttpConnectionManager.java
>>  ===================================================================
>>  RCS file:
> 
> /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/
> MultiThreadedHttpConnectionManager.java,v
> 
>>  retrieving revision 1.24
>>  retrieving revision 1.25
>>  diff -u -r1.24 -r1.25
>>  --- MultiThreadedHttpConnectionManager.java 1 Sep 2003 18:06:55 -0000
> 
> 1.24
> 
>>  +++ MultiThreadedHttpConnectionManager.java 26 Sep 2003 02:44:18 -0000
> 
> 1.25
> 
>>  @@ -996,7 +996,7 @@
>>           }
>>
>>           public void releaseConnection() {
>>  -            if (hasConnection()) {
>>  +            if (!isLocked() && hasConnection()) {
>>                   HttpConnection wrappedConnection =
> 
> this.wrappedConnection;
> 
>>                   this.wrappedConnection = null;
>>                   wrappedConnection.releaseConnection();
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


Mime
View raw message