cURL / Mailing Lists / curl-users / Single Mail

curl-users

IPv6 Proxy Server

From: Todd Kulesza <todd_at_dropline.net>
Date: Mon, 30 May 2005 21:51:55 -0400

Hi,

I'm the author of a journal client (Drivel) that uses libcurl for
network transactions. I recently received a bug report from a user with
an IPv6 proxy server. When he tries to connect to IPv4 sites (namely
www.livejournal.com) through the proxy server, Drivel is unable to
complete the connection. A strace run reveals that connect is called
with an invalid address:

connect(16, {sa_family=AF_INET, sin_port=htons(470),
sin_addr=inet_addr("0.0.7.209")}, 16) = -1 EINVAL (Invalid argument)

I tried the Curl command-line client, and received an "invalid argument"
error when specifying an IPv6 proxy server there as well. We've been
able to replicate this issue using Curl 7.12.3 and 7.14.0. Have we
uncovered a bug, or are IPv6 proxy servers unsupported by Curl?

The full bug report (with our trouble-shooting steps) is available at
http://bugs.gnome.org/show_bug.cgi?id=305829.

Cheers,
Todd
Received on 2005-05-31