hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPASYNC-90) SSLIOSessionStrategy calls the wrong SSLIOSession constructor resulting in a ssl connection without SNI support
Date Fri, 20 Feb 2015 06:35:12 GMT

     [ 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 the upgrade method 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)
to have working SNI.

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.

I have attached a patch for this issue.






> 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 the upgrade method 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)
to have working SNI.
> 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


Mime
View raw message