cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl-library Digest, Vol 36, Issue 1

From: Pramod Sharma <pramodsharma08_at_gmail.com>
Date: Fri, 1 Aug 2008 09:42:29 +0530

>
>
> Message: 8
> Date: Thu, 31 Jul 2008 15:54:36 -0700
> From: Dan Fandrich <dan_at_coneharvesters.com>
> Subject: Re: curl 7.18.1 proxy ipv6
> To: curl-library_at_cool.haxx.se
> Message-ID: <20080731225435.GA4953_at_coneharvesters.com>
> Content-Type: text/plain; charset=us-ascii
>
> 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.
>
> >>> Dan
> --

Thanks Dan. As of know I will not use CULOPT_PORT to continue but will like
to take that fix and merge it.
Can you please let me know in which file your fix is and if not big then
what the fix was ?
 <ftp://10.10.10.10:21//>
Received on 2008-08-01