ws-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject svn commit: r798374 - /webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java
Date Tue, 28 Jul 2009 02:50:50 GMT
Author: gdaniels
Date: Tue Jul 28 02:50:50 2009
New Revision: 798374

URL: http://svn.apache.org/viewvc?rev=798374&view=rev
Log:
Now that we're correctly re-using an HTTPClient as recommended by the docs, we *really* need
to be careful about calling releaseConnection().  Ensure this happens in the HTTP server tests
by calling mepClient.complete().

Modified:
    webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java

Modified: webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java?rev=798374&r1=798373&r2=798374&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java
(original)
+++ webservices/commons/trunk/modules/transport/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/axis2/client/AxisTestClient.java
Tue Jul 28 02:50:50 2009
@@ -119,6 +119,7 @@
         }
         mepClient.addMessageContext(mc);
         mepClient.execute(block);
+        mepClient.complete(mc);
         return resultMessageLabel == null ? null : mepClient.getMessageContext(resultMessageLabel);
     }
 



Mime
View raw message