| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: holding HTTP socket open for a long time
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 1 Aug 2009 10:06:57 +0200 (CEST)
On Wed, 29 Jul 2009, Mohun Biswas wrote:
> Left to its own devices, libcurl prefers to keep socket connections open,
Nope.
> Is there a chance something could time out and close the socket causing my
Well, a timed out socket in the middle of a transfer will cause the transfer
> I don't see anything in TFM about this so for now I'm being a wimp and
When you issue a new request, be it with easy or the multi interface, libcurl
Thus, it is entirely transparent to the app wether the connection was re-used
> The overhead is only a small constant, and probably not critical, but I'd
The most elegant thing is IMHO to re-use the curl handles and let libcurl
-- / daniel.haxx.seReceived on 2009-08-01 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info