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

[jira] [Comment Edited] (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=14137900#comment-14137900 ] 

Oleg Kalnichevski edited comment on HTTPCLIENT-1555 at 9/18/14 7:06 AM:
------------------------------------------------------------------------

I looked at the Android source. -1 value disables all this craziness with globally set handshake timeout at the factory level in favor of timeout value set at the socket level like in standard Java. Please do try to find a few minutes to test it nonetheless.

Oleg

PS: the latest snapshot can be found here
http://repository.apache.org/content/groups/snapshots/org/apache/httpcomponents/httpclient-android/4.3.5.1-SNAPSHOT/


was (Author: olegk):
I looked at the Android source. -1 value disables all this craziness with globally set handshake at the factory level in favor of timeout value at the socket value like in standard Java. Please do try to find a few minutes to test it nonetheless.

Oleg 

> 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
>             Fix For: 4.3.5.1-android
>
>
> 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