cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl 7.25 / multi / win32

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 20 May 2012 23:38:49 +0200 (CEST)

On Sun, 20 May 2012, adam smith wrote:

> This code runs fine but just loops as every loop curl_multi_fdset returns
> with maxfd == -1

For how long? And you're not getting any verbose output explaining what's
happening?

> Tracing into multi_getsock....

...

> This is 0 is what is bitmap is set to.

During name resolving, there's no socket to wait for when you use the threaded
resolver - which libcurl on windows does by default. So that return code is
expected as long as the name resolving isn't completed.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-20