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



Reply via email to