You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "David (JIRA)" <ji...@apache.org> on 2015/02/20 07:28:12 UTC

[jira] [Updated] (HTTPASYNC-90) SSLIOSessionStrategy calls the wrong SSLIOSession constructor resulting in a ssl connection without SNI support

     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org