[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: curl, c-ares and ipv6



Yves-Alexis Perez scrisse:

> On jeu, 2008-06-26 at 08:41 +0200, Yves-Alexis Perez wrote:
> > Here it seems to work fine even with curl 7.18.2-1:
> 
> Hmhm well. Ok. With curl 7.8.12-1e1 and libcares:
> So it seems to work.

Rebuilt from incoming for i386, it seems to work here too:

luca@thetis:~$ curl -v -o /dev/null http://www.sixxs.net
* About to connect() to www.sixxs.net port 80 (#0)
*   Trying 2001:838:1:1:210:dcff:fe20:7c7c... connected
* Connected to www.sixxs.net (2001:838:1:1:210:dcff:fe20:7c7c) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g 
> zlib/1.2.3.3 c-ares/1.5.2 libidn/1.8 libssh2/0.18
[snip]

with:
ii  curl                       7.18.2-1e1
ii  libcurl3                   7.18.2-1e1
ii  libcurl3-gnutls            7.18.2-1e1
ii  libc-ares2                 1.5.2-2  

I've also seen that -4 doesn't really force ipv4 resolution and connection:

luca@thetis:~$ curl -4 -v -o /dev/null http://www.sixxs.net
* About to connect() to www.sixxs.net port 80 (#0)
*   Trying 2001:838:1:1:210:dcff:fe20:7c7c... connected
* Connected to www.sixxs.net (2001:838:1:1:210:dcff:fe20:7c7c) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g
> zlib/1.2.3.3 c-ares/1.5.2 libidn/1.8 libssh2/0.18

is that normal?

> Cheers,

Ciao, Luca

-- 
 .''`.  ** Debian GNU/Linux **  | Luca Bruno
: :'  :   The Universal O.S.    | lucab (AT) debian.org
`. `'`  			| GPG Key ID: 3BFB9FB3
  `-     http://www.debian.org 	| Debian GNU/Linux Developer

Attachment: pgpffaqQ10jsV.pgp
Description: PGP signature


Reply to: