hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: MultiThreadedHttpConnectionManager
Date Thu, 23 Nov 2006 18:39:46 GMT
Hello Eugeny,

> Looks like the application creates too many sockets (as I wrote in some of my
> previous e-mails), so probably I don't need that multithreaded connection
> manager - but simple connection manager, which closes sockets after they are
> used and HttpMethod.releaseConnection is called, rather than keeps this
> connection for later usage?

"The" (our) SimpleConnectionManager does not close sockets, so I suggest
you look for a different name to avoid confusion.

> If I write such connection manager, will that affect cookies and related
> information for each host, which is being kept in the HttpClient somehow?

No, cookies are kept in an HttpState object. Closing the socket connection
after each request will only affect performance.

hope that helps,

To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message