cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CXF-6913) [doc] Setting SSLSocketFactory on TLSClientParameters switches from async to sync HTTP
Date Tue, 24 May 2016 11:46:12 GMT

     [ 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)

Mime
View raw message