You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2016/05/24 11:46:12 UTC
[jira] [Assigned] (CXF-6913) [doc] Setting SSLSocketFactory on
TLSClientParameters switches from async to sync HTTP
[ https://issues.apache.org/jira/browse/CXF-6913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned CXF-6913:
---------------------------------
Assignee: Freeman Fang
> [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
> Assignee: Freeman Fang
> Labels: documentation
>
> 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)