Mutithread use of HttpClient

2004-10-06 Thread Clement Soullard
Hello, I am using http client to program a proxy that record my requests into an XML file. For this I use http client to submit the requests to the server (Tomcat 5.0.18). Http Client is used in a multi thread way so I can keep the session information in my client. But I get two kind of error

Re: Mutithread use of HttpClient

2004-10-06 Thread Michael Becke
Hello Clement, HttpClient is not thread-safe by default, but fortunately it's quite easy to make it so. Please have a look at the threading guide for some more info http://jakarta.apache.org/commons/httpclient/threading.html. Mike On Oct 6, 2004, at 5:36 PM, Clement Soullard wrote: Hello,