cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

ares

From: Giuseppe Attardi <attardi_at_di.unipi.it>
Date: Wed, 17 Sep 2003 09:06:33 +0200

I am testing ares, and I get a SIGSEGV in Curl_connecthost:

#0 0x081282c2 in Curl_connecthost (conn=0x41a29d70, remotehost=0x0,
port=80,
    sockconn=0x41a2a020, addr=0x409a48c8, connected=0x409a4903 "")
    at connect.c:606
#1 0x0812d1ed in ConnectPlease (conn=0x41a29d70, hostaddr=0x0,
    connected=0x409a4903 "") at url.c:1766
#2 0x0812e945 in SetupConnection (conn=0x41a29d70, hostaddr=0x0) at
url.c:3142
#3 0x0812ea4f in Curl_async_resolved (conn=0x41a29d70) at url.c:3221
#4 0x08128d0a in curl_multi_perform (multi_handle=0x81ce348,
    running_handles=0x409a4a44) at multi.c:379

It turns out that:

(gdb) p conn->async
$4 = {hostname = 0x41a17720 "macbeth.di.unipi.it", port = 80, dns = 0x0,
  done = 1 '\001', status = 4}

is an unknown host.
I might check it myself before submitting to cURL, but then I
will lose the advantage of using ares.

-- Beppe Attardi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-17

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET