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 16:58:30 +0300

On 08/06/2013 04:55 PM, Alexey Roslyakov wrote:
> Ok. In your diff you can see wrong version with "^M$". But your wget
> listing seems like working without proxy.
> My wget with proxy:
> # squid3 -v
> Squid Cache: Version 3.3.8
> # wget ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.4.c
> --2013-08-06 19:48:46-- ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.4.c
> Подключение к 192.168.0.148:3128... соединение установлено.
> Proxy-запрос отправлен. Ожидание ответа... 200 Gatewaying
> Длина: нет данных [text/plain]
> Сохранение в: «malloc-2.8.4.c»
>
> [ <=> ] 205 471 136KB/s за 1,5s
>
> 2013-08-06 19:48:51 (136 KB/s) - «malloc-2.8.4.c» сохранён [205471]
>
> and without:
> # wget ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.4.c
> --2013-08-06 19:50:07-- ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.4.c
> => «malloc-2.8.4.c.2»
> Распознаётся gee.cs.oswego.edu (gee.cs.oswego.edu)... 129.3.20.1
> Подключение к gee.cs.oswego.edu (gee.cs.oswego.edu)|129.3.20.1|:21...
> соединение установлено.
> Выполняется вход под именем anonymous ... Выполнен вход в систему!
> ==> SYST ... готово. ==> PWD ... готово.
> ==> TYPE I ... готово. ==> CWD (1) /pub/misc ... готово.
> ==> SIZE malloc-2.8.4.c ... 199774
> ==> PASV ... готово. ==> RETR malloc-2.8.4.c ... готово.
> Размер (байт): 199774 (195K) (не достоверно)
>
> 100%[======================================>] 199 774 156KB/s за 1,3s
>
> 2013-08-06 19:50:11 (156 KB/s) - «malloc-2.8.4.c.2» сохранён [199774]
I give you the result of ftp command being proxied which works..
And in wget it wont.
if you think it's a bug file a bug and you will get some attention in
the bugzilla later on..

Regards,
Eliezer
Received on Tue Aug 06 2013 - 13:59:28 MDT

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