curl-library
Re: Simple question on multi handle and easy options
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Dec 2010 13:51:00 +0100 (CET)
Date: Tue, 7 Dec 2010 13:51:00 +0100 (CET)
On Tue, 7 Dec 2010, Michael Menegakis wrote:
>> That's the point where it makes sense to do it and it doesn't make sense to
>> do it elsewhere, so yes. This is also what the 10-at-a-time example does.
>
> OK. So, if one doesn't have new data to replenish easies immediately, but he
> may have in a short while, does he have to keep track of what is being done
> externally?
I figure you can just add "idle" easy handles to a list and add them to the
multi handle again once you get a need for one. Or you simply close them and
create new ones when you have a need.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-12-07