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

David updated HTTPCLIENT-1726:
------------------------------
    Description: 
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. 




  was:
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 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. 





> 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
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to