On Tue, 5 Jan 2010, Daniel Stenberg wrote:
I think this is because you're using the default (synchronous) name resolver within libcurl, and during the name resolving libcurl has no socket handler to "export". As soon as the resolving is done, libcurl creates a socket and then it _can_ return something in curl_multi_fdset.
No, I'm wrong. During the name resolve the curl_multi_perform() will actually block... Thinking further about this, I can't really explain it. I guess I need to do some tests of my own first to understand what you're describing...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
