nidhi created HTTPCLIENT-1913:
---------------------------------

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


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-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to