hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Shcheklein (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1522) SNI support
Date Wed, 18 Feb 2015 14:01:12 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14325874#comment-14325874
] 

Ivan Shcheklein commented on HTTPCLIENT-1522:
---------------------------------------------

I didn't say that DefaultHttpClientConnectionOperator leaks. I said "it's not obvious that
connect call is idempotent" and "this code doesn't leak". I mean that it's not obvious that
it is safe to call connect twice with the same parameters.

For example, we call it with the same ManagedHttpClientConnection instance. Second call binds
new socket to it: 

{code:java}
Socket sock = sf.createSocket(context);
 ...
conn.bind(sock);
{code}

What has happened to the first one? I don't know where and when close is called.


> SNI support
> -----------
>
>                 Key: HTTPCLIENT-1522
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1522
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.4
>            Reporter: Igor
>
> Running HttpRequest to https://touchpoint.tealeaveshealth.com/consume
> causes an error
> {code}
> javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
> {code}
> to see how to fix, you can open *http://stackoverflow.com/questions/7615645/ssl-handshake-alert-unrecognized-name-error-since-upgrade-to-java-1-7-0*



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