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

David updated HTTPASYNC-90:
---------------------------
    Description: 
In 
[SSLIOSessionStrategy|https://github.com/apache/httpasyncclient/blob/trunk/httpasyncclient/src/main/java/org/apache/http/nio/conn/ssl/SSLIOSessionStrategy.java#L163]
 inside upgrade should create the SSLIOSession by providing the supplied 
HTTPHost so that the sslengine is created with the appropriate host and port  
(see 
https://github.com/apache/httpcore/blob/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java#L151)
 -- which will result in SNI working.

I have attached a patch for this issue.





  was:
In 
[SSLIOSessionStrategy|https://github.com/apache/httpasyncclient/blob/trunk/httpasyncclient/src/main/java/org/apache/http/nio/conn/ssl/SSLIOSessionStrategy.java#L163]
 inside upgrade should create the SSLIOSession by providing the supplied 
HTTPHost so that the sslengine is created with the appropriate host and port  
(see 
https://github.com/apache/httpcore/blob/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java#L151)
 -- which will result in SNI working.






> SSLIOSessionStrategy calls the wrong SSLIOSession constructor resulting in a 
> ssl connection without SNI support
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPASYNC-90
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-90
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>            Reporter: David
>         Attachments: httpasync-90.diff
>
>
> In 
> [SSLIOSessionStrategy|https://github.com/apache/httpasyncclient/blob/trunk/httpasyncclient/src/main/java/org/apache/http/nio/conn/ssl/SSLIOSessionStrategy.java#L163]
>  inside upgrade should create the SSLIOSession by providing the supplied 
> HTTPHost so that the sslengine is created with the appropriate host and port  
> (see 
> https://github.com/apache/httpcore/blob/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java#L151)
>  -- which will result in SNI working.
> I have attached a patch for this issue.



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