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/04/09 11:24:00 UTC
[jira] [Resolved] (HTTPCLIENT-1913) setValidateAfterInactivity
Parameter
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-1913.
-------------------------------------------
Resolution: Invalid
See HTTPCLIENT-1910
> setValidateAfterInactivity Parameter
> ------------------------------------
>
> Key: HTTPCLIENT-1913
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1913
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Affects Versions: 4.5.5
> Reporter: nidhi
> Priority: Blocker
>
> I recently upgrade my application from httpclient 4.2 to 4.5.5
> I started getting Socket Exception broken pipe.
> I found that staleConnection check is disabled from version 4.3.
> and is deprecated as well.
> I am trying PoolingConnectionManager.setValidateAfterInactivity(time) to fix this.
>
> My problem is how do I determine this value time. I think I can choose any number from 1 to 2000 (default value).
> How do I ensure my app won't get Exceptions henceforth.
>
> Please help.
--
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