[prev in list] [next in list] [prev in thread] [next in thread]
List: httpclient-commons-dev
Subject: [jira] [Commented] (HTTPCLIENT-1555) Socket timeout not applied to SSLSocketFactory & it waits indef
From: "Kurian Abraham (JIRA)" <jira () apache ! org>
Date: 2014-09-25 5:46:34
Message-ID: JIRA.12742110.1410952995000.119134.1411623994372 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1555?page=com.atlassian.jira.pl \
ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147435#comment-14147435 \
]
Kurian Abraham commented on HTTPCLIENT-1555:
--------------------------------------------
The SSL handshake timeout is working, but I haven't tested a socket timeout after the \
SSL handshake has completed. Shouldn't a call to sock.setSoTimeout(connectTimeout); \
be placed after the call to createLayeredSocket()? The SSLCertificateSocketFactory \
documentation says the socket timeout is reset after the 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
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic