geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r638972 - /geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/AsyncHttpClient.java
Date Wed, 19 Mar 2008 18:54:04 GMT
Author: rickmcguire
Date: Wed Mar 19 11:53:58 2008
New Revision: 638972

URL: http://svn.apache.org/viewvc?rev=638972&view=rev
Log:
GERONIMO-3916 proxy connection does not capture the successful connection events

Patch provided by Sangjin Lee


Modified:
    geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/AsyncHttpClient.java

Modified: geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/AsyncHttpClient.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/AsyncHttpClient.java?rev=638972&r1=638971&r2=638972&view=diff
==============================================================================
--- geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/AsyncHttpClient.java (original)
+++ geronimo/sandbox/AsyncHttpClient/src/main/java/org/apache/ahc/AsyncHttpClient.java Wed
Mar 19 11:53:58 2008
@@ -888,6 +888,7 @@
         public void operationComplete(IoFuture future) {
             ConnectFuture connectFuture = (ConnectFuture)future;
             if (connectFuture.isConnected()) {
+                notifyMonitoringListeners(MonitoringEvent.CONNECTION_SUCCESSFUL, request);

                 IoSession session = future.getSession();
                 // add the protocol filter (if it's not there already like in a
                 // reused session)



Mime
View raw message