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 2018/06/20 09:59:00 UTC

[jira] [Commented] (HTTPCLIENT-1925) org.apache.http.NoHttpResponseException: failed to respond

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

Oleg Kalnichevski commented on HTTPCLIENT-1925:
-----------------------------------------------

You are getting this exception while *_debugging_*?

Oleg

> org.apache.http.NoHttpResponseException:  failed to respond
> -----------------------------------------------------------
>
>                 Key: HTTPCLIENT-1925
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1925
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.5.5
>            Reporter: 夏青云
>            Priority: Major
>
> in the class AbstractConnPool.java,around line 247,the validateAfterInactivity default value is 2000 and would validate the conn, in some times ,it can't work as expect.
> In my case,the server will break the conn in 10s,and I wait for 9s ,and send the next post,the validate will be true of course ,then I debug and wait for 2 or 3 second ,and the exception occured.
> It showed that the action of validate would not delay the expired time of the conn.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org