Foran, Christopher wrote:

But what if you want a persistent connection?

HTTPClient handles persistent connections with the connection manager.

If you call
releaseConnection() are you not dropping the line?

No, you are returning the connection to the pool. There is no guarantee that you will obtain the same connection to the server with the next request. But this is normally not necessary, as all connections are interchangable.


I was assuming that
.recycle() was the correct way to maintain a persistent connection.

Don't assume, read the docs.

Thanks.

you're welcome

Ortwin Glück

--
 _________________________________________________________________
 NOSE applied intelligence ag

 ortwin glück                      [www]      http://www.nose.ch
 software engineer
 hardturmstrasse 171               [pgp id]           0x81CF3416
 8005 zürich                       [office]      +41-1-277 57 35
 switzerland                       [fax]         +41-1-277 57 12

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to