Re: curl 7.18.1 proxy ipv6
Date: Thu, 31 Jul 2008 15:54:36 -0700
On Thu, Jul 31, 2008 at 01:29:16PM -0700, Dan Fandrich wrote:
> On Thu, Jul 31, 2008 at 05:27:40PM +0530, Pramod Sharma wrote:
> > Output from my test program :
> > * About to connect() to proxy 2001:db8:0:1:203:ffff:fee1:2a22 port 80 (#0)
> > * Trying 2001:db8:0:1:203:ffff:fee1:2a22... * connected
> > * Connected to 2001:db8:0:1:203:ffff:fee1:2a22
> > (2001:db8:0:1:203:ffff:fee1:2a22) port 80 (#0)
> > * Server auth using Basic with user 'pramod'
> > > GET ftp://2001:db8:0:1:203:ffff:fee1:2a22:21/SiteStat.xml HTTP/1.1
> Weird--the IPv6 brackets are removed here for some reason. It turns out that
> a workaround is to remove the line setting CURLOPT_PORT. Not only is port 21
> the default for ftp, but it's even included in the URL. But it's still
> something that should be looked at.
I've checked in a fix for this problem, and a related one that affected
any FTP URL when CURLOPT_PORT was set. There's actually another problem
related to this that isn't fixed (suffixes like ;type=A are stripped off)
that will have to be dealt with at a later time.
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-08-01