Hi all.
 
>From httpclient documentation and mailing list I read, that ...
 
a) one should use ThreadSafeClientConnManager, "if more than one thread is using
the HttpClient"
 
b) a SingleClientConnManager "ought to be used by one execution thread only"
 
... yet I'm not 100% sure, whether ...
 
(a) above just means the case "where multiple threads share a particular
_instance_ of DefaultHttpClient" as opposed to "when multiple threads use Apache
http client lib in general" (even if each thread had its own DefaultHttpClient
instance?)
 
and whether (b) above means that "only one particular instance
of SingleClientConnManager should be used within one thread" or whether it
should be read as "there must be only one thread per runtime, that is making use
of any SingleClientConnManager instance(s)"
 
 
Thanks for reading.
Joerg
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to