cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: DNS issue in libcurl 7.19.3 on Mac OS 10.5

From: Andre Guibert de Bruet <andy_at_siliconlandmark.com>
Date: Mon, 27 Jul 2009 10:00:24 -0400

On Jul 20, 2009, at 6:48 PM, Heston Liebowitz wrote:
> On Jul 20, 2009, at 3:18 PM, Daniel Stenberg wrote:
>
>>> I have an array of URLs which I want to loop over and GET in turn.
>>> About halfway through the array, one of the URLs results in a
>>> malformed packet being sent back from the server (according to
>>> Wireshark). After that point, all subsequent GETs have their DNS
>>> lookups perturbed in some way. For example, here is a subset of
>>> the URLs with the proper DNS resolutions:
>>
>> Can you repeat this problem on any other operating system or
>> libcurl built to use c-ares?
>
> This libcurl was not built with c-ares. After trying your
> suggestions, I don't see the above-referenced behavior on Ubuntu,
> but I can reproduce it consistently on Mac OS. I tried recompiling
> on Mac OS with c-ares and the problem went away. So, indeed it looks
> like something with the standard resolving library. Do you have any
> idea what lib would be used for DNS resolves?

NAME
      endhostent, gethostbyaddr, gethostbyname, gethostbyname2,
gethostent, herror, hstrerror, sethostent -- get network host entry

LIBRARY
      Standard C Library (libc, -lc)

Cheers,

/* Andre Guibert de Bruet * 436f 6465 2070 6f65 742e 2042 6974 206a */
/* Managing Partner * 6f63 6b65 792e 2053 7973 4164 6d69 6e2e */
/* GSM: +1 734 846 8758 * 2055 4e49 5820 736c 6575 7468 2e00 0000 */
/* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */
Received on 2009-07-27