hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: About SNI support in HC4.5
Date Wed, 23 Dec 2015 13:30:10 GMT
Hi,
Any answer on the 1/ question ?
Thanks
Regards

On Tue, Dec 22, 2015 at 2:39 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hi,
> With further investigation, I answered to some of my questions.
>
> Regards
>
> On Mon, Dec 21, 2015 at 6:52 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
>> Hello,
>> Looking at:
>>
>>    - https://issues.apache.org/jira/browse/HTTPCLIENT-1119
>>
>>
>> 1/ It is not clear for me how the fix works if commit association is
>> correct:
>>
>>    - https://fisheye6.atlassian.com/changelog/httpcomponents?cs=1544769
>>
>> Is the fix about replacing:
>>
>> final SSLSocket sock = (SSLSocket) this.socketfactory.createSocket();
>>
>> with :
>> SocketFactory.getDefault().createSocket();
>> 2/ Is the fix only for Java 7 or does it work on Java 8?
>>
> > It also works on Java8
>
>>
>> 3/ Also wondering, I see only SSLConnectionSocketFactory is concerned by
>> fix, so I suppose that SSLSocketFactory was not fixed ?
>> So I suppose that upgrading to HC4.5.1 from HC4.2.3 will not fix the
>> issue unless
>> SSLSocketFactory is used instead of
>> SSLConnectionSocketFactory
>>
>
> > No it will not fix the issue, unless  SSLSocketFactory is used instead
> of  SSLConnectionSocketFactory.
>
>>
>
>
>


-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message