hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1726) The deprecated SSLSocketFactory does not contain the SNI fix found in the SSLConnectionSocketFactory class
Date Wed, 02 Mar 2016 20:49:18 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1726.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.5.3

Committed to the SVN 4.5.x branch

http://svn.apache.org/viewvc?rev=1733362&view=rev

Oleg

> The deprecated SSLSocketFactory does not contain the SNI fix found in the SSLConnectionSocketFactory
class
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1726
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1726
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.4.1, 4.5.1
>            Reporter: David
>              Labels: SNI
>             Fix For: 4.5.3
>
>         Attachments: sni.patch
>
>
> Inside the deprecated [SSLSocketFactory.createSocket(final HttpContext context)|https://github.com/apache/httpclient/blob/4.5.x/httpclient/src/main/java-deprecated/org/apache/http/conn/ssl/SSLSocketFactory.java#L521]
 method the fix that was applied for HTTPCLIENT-1119 to the SSLConnectionSocketFactory class
is not present, see https://github.com/apache/httpclient/commit/92b7e8cd971868505d0f22ee5cfc12a68ee91b80
for the fix for HTTPCLIENT-1119. That is, the method needs to create and return a standard
socket, which is then layered on top of such that SNI is enabled. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message