cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multi interface in Windows fails

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Fri, 2 Apr 2004 20:18:14 +0200

Christopher R. Palmer said:

> We have had some problems here which I only vaguely know about. The
> problems seems to be that all 3 fdsets are empty which is an error on
> windows, but not an error on unix.
>
> This seems to occur while doing DNS. cURL+multi seems to work fine if you
> undefine USE_THREADING_GETHOSTBYNAME (which is how we are using it right now).

The fdsets are empty because Curl_multi_ares_fdset() does nothing if not
using c-ares. AFAICS, the multi-interface requires c-ares, so
USE_THREADING_GETHOSTBYNAME shouldn't be defined in the first place.
see setup.h.

--gv
Received on 2004-04-02