Re: Bug in curl makes Fedora ftp:// URL installations fail with some mirrors

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

 



Once upon a time, Chuck Anderson <cra@xxxxxxx> said:
> On Sun, Oct 17, 2010 at 02:03:20PM +0300, Pasi Kärkkäinen wrote:
> > Yes, indeed, it seems more likely a bug in the FTP server (pure-ftpd),
> > but it would be very nice to have a workaround in curl or in anaconda for
> > it..
> 
> Why not fix the the problem at the source?

Under the "be generous in what you accept", curl should be changed to
handle this (especially if other clients can handle it).

Looking at a packet dump, I'm not sure which side is at fault.  FTP
allows you to specify the start of data (start at offset 1384) but not
an end, so the only way to get less than the full rest of the file is to
abort the data transfer.  It looks like curl just closes the data socket
without sending an ABOR on the command socket, so I think the server is
allowed to dump the client.

It would be nicer for the server to handle this better as well, but I
think the problem starts with curl.
-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux