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 2015/07/24 10:59:05 UTC

[jira] [Resolved] (HTTPCLIENT-1668) connectTimeout used as socketTimeout in Request

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1668.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.0

Fixed in SVN trunk and 4.5.x branch.

Oleg

> connectTimeout used as socketTimeout in Request
> -----------------------------------------------
>
>                 Key: HTTPCLIENT-1668
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1668
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Fluent HC
>    Affects Versions: 4.5
>            Reporter: Anders Båtstrand
>              Labels: easyfix, regression
>             Fix For: 4.5.1, 5.0
>
>
> After upgrading flunt-hc 4.4.1 -> 4.5, I experienced getting socket timeouts, after the same amount of time I had specified for connectTimeout.
> After looking at the code, I see the following:
> org.apache.http.client.fluent.Request:166
> {code}
> builder.setSocketTimeout(this.connectTimeout);
> {code}



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