curl-library
curl_multi_wait seems to be ignoring timeout
Date: Tue, 7 May 2013 13:22:25 -0700
Hi folks,
I'm using the curl_multi interface to make parallel GET requests on a set
of URLs. I've noticed that at times the call to curl_multi_wait may block
indefinitely, despite the fact that I'm passing in a value of 1000 (msec)
to the timeout_ms parameter. Some snippets from my debugger:
00000000`0933e5d0 00000001`3f5233d4 ws2_32!select+0x75a
00000000`0933e6d0 00000001`3f4fcb28 mag_client!Curl_poll+0x234
[c:\curl-7.28.1\lib\select.c @ 474]
00000000`0933eda0 00000001`3f31f653 mag_client!curl_multi_wait+0x1d8
[c:\curl-7.28.1\lib\multi.c @ 1029]
I've stumbled across a perhaps relevant blog
post<http://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/>,
which could be related.
By the way, this was seen on Win7 and my app is using a libcurl 7.28.1,
statically linked.
Thanks!
-- Alex Loukissas Member of Technical Staff - Maginatics, Inc. www.maginatics.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-07