curl-library
RE: curl_multi_fdset always returns -1 for maxfd
Date: Wed, 12 Nov 2014 15:16:55 +0000
> -----Original Message-----
> From: curl-library [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Vishakha Vaidya
> Sent: Wednesday, November 12, 2014 8:19 PM
> To: libcurl development
> Subject: RE: curl_multi_fdset always returns -1 for maxfd
>
> It doesn't work. Unless I keep calling multi_perform in a loop, the state does not change from CURLM_STATE_WAITRESOLVE to CURLM_STATE_WAIT_CONNECT.
> Are you unable to reproduce the problem, with the code I sent?
>
> ~Vishakha
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
When I debugged the libcurl code I saw that on mac async is false while on win its true. Indicates the asynchronous name resolution is not working? Am I not setting the right options. How do I turn off the async mode?
~Vishakha
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-12