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

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Tue, 06 Aug 2013 14:21:01 +0300

On 08/06/2013 08:06 AM, Alexey Roslyakov wrote:
>> 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).
It's not squid 100%.
I have downloaded a file using chrome and it seems like geany shows it fine.
If you have issues with that you should try to use another OS and then
inspect the file to make sure the OS or the browser does soemthing to
the file.

Regards,
Eliezer
Received on Tue Aug 06 2013 - 11:21:51 MDT

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