Torsten Mielke created CXF-6913:
-----------------------------------
Summary: [doc] Setting SSLSocketFactory on TLSClientParameters
switches from async to sync HTTP
Key: CXF-6913
URL: https://issues.apache.org/jira/browse/CXF-6913
Project: CXF
Issue Type: Improvement
Components: Documentation
Affects Versions: 3.1.6
Reporter: Torsten Mielke
The fix for CXF-5071 introduced a check in AsyncHTTPConduit.setupConnection()
{code:java}
if (uri.getScheme().equals("https")
&& clientParameters != null
&& clientParameters.getSSLSocketFactory() != null) {
//if they configured in an SSLSocketFactory, we cannot do anything
//with it as the NIO based transport cannot use socket created from
//the SSLSocketFactory.
o = false;
}
{code}
that makes CXF switch from an asynchronous to a synchronous HTTP transport if
the TLSClientParameters used sets an SSLSocketFactory.
This behaviour is undocumented and has caused confusion among customers. Can we
get this please documented on page
http://cxf.apache.org/docs/asynchronous-client-http-transport.html
Thanks,
Torsten
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)