cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1548264 - /cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
Date Thu, 05 Dec 2013 20:08:08 GMT
Author: dkulp
Date: Thu Dec  5 20:08:08 2013
New Revision: 1548264

URL: http://svn.apache.org/r1548264
Log:
[CXF-5425] Fix a problem where the client may end up being null with a multi-threaded test.

Modified:
    cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java

Modified: cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java?rev=1548264&r1=1548263&r2=1548264&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
(original)
+++ cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
Thu Dec  5 20:08:08 2013
@@ -359,7 +359,7 @@ public class AsyncHTTPConduitFactory imp
     }
 
     public CloseableHttpAsyncClient createClient(final AsyncHTTPConduit c) throws IOException
{
-        if (connectionManager == null) {
+        if (client == null) {
             setupNIOClient(c.getClient());
         }
         return client;



Mime
View raw message