cURL / Mailing Lists / curl-library / Single Mail

curl-library

multi interface with non-blocking DNS lookup?

From: Hanno L. Kranzhoff <kranzhoff_at_neptunelabs.com>
Date: Wed, 11 Sep 2002 19:32:46 +0200

Hi,
I'm using the easy interface in a win32 environment for quite a while.
The only back draw I see is the blocking during DNS resolution.

I know there has been a lot of discussion on this topic.
Would switching to the multi interface solve this "problem"?
I'm not sure as I'm already running all calls to libcurl in a separate
thread (only one at a time) but don't see a way to end the thread safely
when the DNS lookup takes place.
This is especially annoying when trying to connect to an incorrect
address.

I'm currently using libcurl 7.9.8, HTTP only

Thanks in advance,

-- 
Hanno L. Kranzhoff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-12