hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christine <christ...@christine.nl>
Subject Re: Multiple calls to HttpClient
Date Tue, 14 Oct 2008 07:58:54 GMT
On Mon, 2008-10-13 at 23:41 +0200, Oleg Kalnichevski wrote:
> On Mon, 2008-10-13 at 10:45 -0700, Mohit Anchlia wrote:
> > What happens when an instance of HttpClient instance is created for
> > each request? Does it internally get associated with one Connection
> > manager or there is new connection manager created for each HttpClient
> > instance?
> > 
> 
> New connection manager created for each HttpClient instance

What is the tradeoff between using the same httpClient instance again
and again, or creating a new one on each request? Can you create a
memory leak by using one instance and not closing connections properly?

Christine

> 
> Oleg
> 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
-- 
dagdag is just a two character rotation of byebye
www.christine.nl


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


Mime
View raw message