cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
RE: CURLMOPT_TIMERFUNCTION not called when last timer cancelled
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 24 Jun 2008 12:05:21 +0200 (CEST)
On Mon, 23 Jun 2008, David Lasker wrote:
>> You use curl_multi_socket() with select() ?
When using select() I personally would prefer using curl_multi_timeout()
> My application reads N records from an database and then performs N HTTP
The fact that they are used only for HTTP is not a good argument against using
Then, libcurl may also deal with other sockets even when you do HTTP only,
> so I do my own select. I use CURLMOPT_SOCKETFUNCTION to tell my select which
If using select, I would rather use curl_multi_setfd() as that too would put
> Is there a better way to implement this?
Well, since you use select() I see little reason to use curl_multi_socket* and
-- / daniel.haxx.seReceived on 2008-06-24
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info