cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
weird timer behavior when re-using existing connection
From: David Lasker <dave_at_altosdesign.com>
Date: Tue, 17 Jun 2008 13:00:21 -0700
Hi, I am brand-new, very newbie libcurl user, so this may be a dumb
I am using the curl_multi interface to do HTTP POSTs. I am using libcurl
I am seeing some unexpected timer behavior when I make consecutive HTTP
On the first HTTP POST, all looks good. My timer callback function is called
On the 2nd POST, I get just one timer callback with the timeout set to zero.
If I call curl_multi_timeout instead of using the timer callback, it returns
If I delay the 2nd POST until the remote web server closes the connection,
I realize there shouldn't be a DNS lookup or connection timeout on the 2nd
Is this a bug, or am I doing something wrong?
Thanks for the help!
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info