cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: lynx OK, http_post OK, cURL can't resolve

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 26 Aug 2002 09:21:04 +0200 (MET DST)

On Mon, 19 Aug 2002, Ray DeGennaro at Eaglerock IS wrote:

> >I don't think this additional information is what makes any
> >difference. curl uses the "standard" name-resolving functions and
> >they somehow fail on HPUX 10.20

Funnily enough, I'm pretty sure the exact same code is compiled for HP-UX
11.0 and there it works!

> The only other pieces of info that I can add are: During builds, I see:

I don't think any of those warnings matter to this problem.

> >2. If you can, I'd like you fire up curl with a debugger and
> >single-step through the Curl_getaddrinfo() function to see exactly
> >where it bails out, and possibly check errno and stuff.
>
> This will unfortunately have to wait a bit. Hopefully I'll be able to do
> it Tuesday afternoon (Central Time, USA)

Did you get the change/see anything interesting?

> >./configure --disable-thread
> >
> >It'll then instead use another name resolve call (gethostbyname())
> >which should make things behave differently.
>
> This works, as far as I can tell.

Right. Then the problem is indeed very centered around curl's use of
gethostbyname_r().

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-08-26