cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Mielke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6913) [doc] Setting SSLSocketFactory on TLSClientParameters switches from async to sync HTTP
Date Tue, 24 May 2016 10:03:12 GMT
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)

Mime
View raw message