You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ro...@apache.org on 2006/08/06 10:38:49 UTC

svn commit: r429118 - /jakarta/httpcomponents/httpasync/trunk/src/java/org/apache/http/async/impl/SimpleHttpDispatcher.java

Author: rolandw
Date: Sun Aug  6 01:38:48 2006
New Revision: 429118

URL: http://svn.apache.org/viewvc?rev=429118&view=rev
Log:
ConnectionReuseStrategy gets access to connection, HTTPCORE-7

Modified:
    jakarta/httpcomponents/httpasync/trunk/src/java/org/apache/http/async/impl/SimpleHttpDispatcher.java

Modified: jakarta/httpcomponents/httpasync/trunk/src/java/org/apache/http/async/impl/SimpleHttpDispatcher.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpasync/trunk/src/java/org/apache/http/async/impl/SimpleHttpDispatcher.java?rev=429118&r1=429117&r2=429118&view=diff
==============================================================================
--- jakarta/httpcomponents/httpasync/trunk/src/java/org/apache/http/async/impl/SimpleHttpDispatcher.java (original)
+++ jakarta/httpcomponents/httpasync/trunk/src/java/org/apache/http/async/impl/SimpleHttpDispatcher.java Sun Aug  6 01:38:48 2006
@@ -296,7 +296,7 @@
         try {
             if (!abort && (response != null) &&
                 (reuse_strategy != null) &&
-                reuse_strategy.keepAlive(response)) {
+                reuse_strategy.keepAlive(client_connection, response)) {
 
                 // consume rest of the entity, if there is one
                 HttpEntity entity = response.getEntity();