curl-library
Re: SFTP and multi interface
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 5 Jan 2010 00:33:13 +0100 (CET)
Date: Tue, 5 Jan 2010 00:33:13 +0100 (CET)
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.htmlReceived on 2010-01-05