]> git.ipfire.org Git - thirdparty/squid.git/commit
Markus Leutwyler wrote:
authorwessels <>
Wed, 12 May 1999 02:14:14 +0000 (02:14 +0000)
committerwessels <>
Wed, 12 May 1999 02:14:14 +0000 (02:14 +0000)
commitbc2f604de8f54aeb5753bd532cc751f36eaab7c8
treecfdd9f825db3a759f85f767c27dd3c4c2401159a
parent029ce4ae423967f346c3c7e77261095428d371f5
Markus Leutwyler wrote:
>I have attached two logfiles (cache.log .. taken with debug = all,9)
>that show the different behaviour between the small text file and the
>bigger binary file. The FTP server is replying to the SIZE command with
>"213 0" (0 bytes) and this is sent to the browser as Content-length. I
>just wonder why the text file works and the binary file not. Could
>someone look at the logfile and try to figure out what's going on
>exactly?

Henrik:
SIZE is only used on binary transfers, not text transfers.  Attached is
a small workaround which causes Squid to ignore 0 replies to SIZE.
src/ftp.cc