hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus M. Salvo Jr." <jesus.sa...@migasia.com>
Subject Re: Persistent HTTPS connections
Date Thu, 13 May 2004 06:23:41 GMT
Jesus M. Salvo Jr. wrote:

> Question is, was I correct in initially assuming that 
> MultiThreadedHttpConnectionManager should have "handled" this case ? 
> e.g... .detected that the exception, and retried the HTTP POST by 
> creating a new HTTPS socket ?


What I have done now is, if I get a HttpRecoverableException, I retry 
the HTTP call.
The executeMethod() is therefore in a while loop. I am now to put a hard 
limit on the number of retries.
Just like to ask what have everyone else doing.
Is this the "best pratice" with HttpClient to handle persistent 
connections ?



Regards,

John


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


Mime
View raw message