Re: [squid-users] Replace LF with CR/LF while transfer from ftp through squid

From: Alexey Roslyakov <squid_at_oneex.me>
Date: Tue, 06 Aug 2013 11:06:43 +0600

> On 08/05/2013 10:55 AM, Amos Jeffries wrote:
>
> Strange. Squid does not do anything to the response objects as they
> transmit. I think it is done by the FTP server.
>
> Amos
I think it's squid problem - simple test: start embedded in FreeBSD
ftp-server (ftpd) and put on it unix-like (LF) formatted text file, then
get it directly and through squid and compare: we get two little bit
different files.

> 06.08.2013 1:57, Eliezer Croitoru пишет:
> or even the client.
> what CR/LF are you talking about exactly in FTP?
>
> Eliezer
Tested with many clients - same results. Exactly in ftp, on http all ok.

I get this error first time after trying to get sources from
ftp://gee.cs.oswego.edu/pub/misc/
Tested on debian7: used squid3 without any changes in configuration -
same result as on FreeBSD (single LF replaced with CR+LF).
Received on Tue Aug 06 2013 - 05:06:47 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 06 2013 - 12:00:15 MDT