Hallo all,

Just a quick question on SSL, MultiThreadedHttpConnectionManager and
Keep-Alive if anyone can help.


I've been experimenting with the MultiThreadedExample on the
HTTPClient website
(http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java?view=markup)
and it seems that a new SSL connection/session is created for every
thread and the session is re-used within each thread for each
executeMethod call, but of course every time
"httpClient.executeMethod(method);" is called it waits for a reply
before I can make another request within that thread.


Is it possible to additionally make parallel requests within an SSL
session? Perhaps using "executeMethod(HostConfiguration hostconfig,
HttpMethod method, HttpState state)" or one of the others which
provide some state to distinguish between the parallel requests. Or to
set it up in such a way that concurrent threads share an SSL session.


Any help would be much appreciated.


Many thanks
Christiaan

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

Reply via email to