Re: curl-multi: Pausing download with connection open
Date: Sun, 18 Jul 2004 09:36:37 +0200 (CEST)
On Sat, 17 Jul 2004, Richard Atterer wrote:
>> I'm open for suggestions and patches on how such a pausing would be
> Hmm, libcurl could maintain a "paused" flag for each easy handle, and when
> that flag is set, the handle's sockets could no longer be returned in the
> fd_set result of curl_multi_fdset().
Yes that would work, and then connections marked as paused wouldn't be checked
for receiving or sending data.
> Also, it's possible that the application will run out of connections sooner
> if there's some kind of limit... What does CURLOPT_MAXCONNECTS apply to,
> overall open connections, connections to a single host, or overall open, but
> unused connections?
Maximum number of open connections in an easy handle's connection "pool". They
are used to allow connection re-use when subsequent requests are made.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-07-18