cURL / Mailing Lists / curl-library / Single Mail

curl-library

c-ares problem on windows

From: codemastr <codemstr_at_ptd.net>
Date: Sat, 21 Feb 2004 21:28:57 -0500

It seems as though Windows will specify multiple name servers in the
NameServer key. c-ares doesn't deal with this. It just calls inet_addr() on
the value of this key. Now if the IPs are space seperated it doesn't cause
problems (I guess inet_addr only reads up to the first space???) However, on
some systems they are comma seperated which freaks c-ares out.

Either way, even if it is spaces, it means c-ares ignores all but the first
NS listed. And if it is comma seperated, then it reads none.

I probably will take a look at this, but if someone is really bored and
would rather do it for me, be my guest ;)

Dominick Meglio
Received on 2004-02-22