hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1098287 - /httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/pool/SessionPool.java
Date Sun, 01 May 2011 12:17:12 GMT
Author: olegk
Date: Sun May  1 12:17:11 2011
New Revision: 1098287

URL: http://svn.apache.org/viewvc?rev=1098287&view=rev
Log:
HTTPASYNC-3: fixed incorrect handling of max total limit exceeded condition

Modified:
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/pool/SessionPool.java

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/pool/SessionPool.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/pool/SessionPool.java?rev=1098287&r1=1098286&r2=1098287&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/pool/SessionPool.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/pool/SessionPool.java
Sun May  1 12:17:11 2011
@@ -199,7 +199,7 @@ public abstract class SessionPool<T, E e
                     E entry = this.availableSessions.remove();
                     entryShutdown(entry);
                     RouteSpecificPool<T, E> pool = getPool(entry.getRoute());
-                    pool.freeEntry(entry, false);
+                    pool.remove(entry);
                 }
             }
 



Mime
View raw message