You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Kurian Abraham (JIRA)" <ji...@apache.org> on 2014/09/17 13:45:33 UTC

[jira] [Commented] (HTTPCLIENT-1555) Socket timeout not applied to SSLSocketFactory & it waits indefinitely.

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

Kurian Abraham commented on HTTPCLIENT-1555:
--------------------------------------------

SSLCertificateSocketFactory in the Android port specifically says it resets the socket timeout. It has a mandatory timeout constructor argument which is always set to 0 in SSLConnectionSocketFactory. I have verified that the socket timeout set in the request config is not respected during the SSL handshake.

> Socket timeout not applied to SSLSocketFactory & it waits indefinitely.
> -----------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1555
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1555
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Android Port
>    Affects Versions: 4.3.5
>            Reporter: Kurian Abraham
>            Priority: Minor
>
> SSLCertificateSocketFactory is created with a socket timeout of 0. This causes requests to hang indefinitely. The socket timeout from the request config must be applied.



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