Hi Srini,

I want to echo Oleg's comments with one addition.

(1) As Roland said please <strong>do reuse</strong> the HttpClient instance. HttpClient class is fully thread-safe. By no reusing HttpClient you completely defeat the connection keep-alive stuff

HttpClient is thread safe, depending which connection manager is used. By default the SimpleHttpConnectionManager is used by HttpClient. This connection manager is not thread safe, though it can be replaced with the MultiThreadedHttpConnectionManager which is.


Mike


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to