hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1044299 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ThrottlingHttpClientHandler.java
Date Fri, 10 Dec 2010 11:29:08 GMT
Author: olegk
Date: Fri Dec 10 11:29:07 2010
New Revision: 1044299

URL: http://svn.apache.org/viewvc?rev=1044299&view=rev
Log:
HTTPCORE-246: ThrottlingHttpClientHandler triggers EventListener#connectionClosed twice
Contributed by Bryan Pon <bryanpon at gmail.com>

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ThrottlingHttpClientHandler.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ThrottlingHttpClientHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ThrottlingHttpClientHandler.java?rev=1044299&r1=1044298&r2=1044299&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ThrottlingHttpClientHandler.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/ThrottlingHttpClientHandler.java
Fri Dec 10 11:29:07 2010
@@ -154,11 +154,6 @@ public class ThrottlingHttpClientHandler
                 connState.notifyAll();
             }
         }
-
-        if (this.eventListener != null) {
-            this.eventListener.connectionClosed(conn);
-        }
-
         this.execHandler.finalizeContext(context);
 
         if (this.eventListener != null) {



Mime
View raw message