Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D7B0106E6 for ; Fri, 20 Feb 2015 09:18:12 +0000 (UTC) Received: (qmail 15805 invoked by uid 500); 20 Feb 2015 09:18:11 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 15759 invoked by uid 500); 20 Feb 2015 09:18:11 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 15747 invoked by uid 99); 20 Feb 2015 09:18:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2015 09:18:11 +0000 Date: Fri, 20 Feb 2015 09:18:11 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HTTPASYNC-90) SSLIOSessionStrategy calls the wrong SSLIOSession constructor resulting in a ssl connection without SNI support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPASYNC-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPASYNC-90. ---------------------------------------- Resolution: Fixed Fix Version/s: 4.1-beta2 Patch committed to SVN trunk. Many thanks for contributing it. Oleg > 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 > Fix For: 4.1-beta2 > > 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