[
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: [email protected]
For additional commands, e-mail: [email protected]