You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Robert Bowen <sy...@yahoo.com> on 2007/04/03 11:41:12 UTC

Re-using connections

Hello,

If I have a pool of connections, grab a connection from the pool and connect to a server in San Francisco, then grab another and open a connection to a server in Hong Kong, then return the SF connection to the pool, can I then re-use that connection to connect, say, to yet another server in Honk Kong?

I think the answer is 'yes', I just wanted to be sure.

Many thanks,
Bob




 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

Re: Re-using connections

Posted by Roland Weber <RO...@de.ibm.com>.
Hi Bob,

connections will be closed and re-opened as necessary.
Actual re-use of the open connection is possible only
for the same target.

cheers,
  Roland