Re: Using HttpClient (4) with 'per-connection' state

2010-02-18 Thread Dave Irving
Hi, Thanks for your replies. I did some more digging and managed to achieve what I wanted without resorting to using separate HttpClient instances. Note that I don't think Persistent Connection State will work in this situation: All requests coming in to my API are considered equal and will 'auth

Using HttpClient (4) with 'per-connection' state

2010-02-17 Thread Dave Irving
Hi, I'm using HttpClient (4) to talk to some web services. I'd like lots of requests to be sent in parallel, so I'm using ThreadSafeClientConnectionManager along with a high per-host total connection thresholds. All requests thru this client will be to the same host / port (and most of the time