Skip to content
Permalink
Browse files
[CXF-5425] Fix a problem where the client may end up being null with …
…a multi-threaded test.

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1548264 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Dec 5, 2013
1 parent e6cb482 commit 32fd2f750dfe84ea8ec7f6710e79017033283a97
Showing 1 changed file with 1 addition and 1 deletion.
@@ -359,7 +359,7 @@ public void addCookie(Cookie cookie) {
}

public CloseableHttpAsyncClient createClient(final AsyncHTTPConduit c) throws IOException {
if (connectionManager == null) {
if (client == null) {
setupNIOClient(c.getClient());
}
return client;

0 comments on commit 32fd2f7

Please sign in to comment.