Re: [squid-users] HTTP/1.1 CONNECT truncating

From: Louis Solomon [SteelBytes] <louis@dont-contact.us>
Date: Sat, 12 Mar 2005 13:53:52 +1100

>> the last build I was using, 2.5 stable 4 (compiled with cygwin current at
>> that time) worked fine. yesterday I updated to 2.5 stable 9 (with
>> latested cygwin), and it truncates file uploads when using ftp over
>> http/1.1 connect. feels like a straight out bug to me.
>
> File uploads using SSL, or some software abusing the CONNECT method for
> non-SSL connections?

this works (http upload and download via squid):
curl --upload-file c:\test.zip http://http.server.tld/ --proxy
server:8080 --proxytunnel
curl --get http://http.server.tld/test.zip --output test2.zip --proxy
server:8080 --proxytunnel
fc /b test.zip test2.zip

and so does this (ftp upload and download direct):
curl --upload-file test.zip ftp://ftp.server.tld/
curl ftp://ftp.server.tld/test.zip --output test2.zip
fc /b test.zip test2.zip

this doesn't (ftp upload and download via squid):
curl --upload-file test.zip ftp://ftp.server.tld/ --proxy
server:8080 --proxytunnel
curl ftp://ftp.server.tld/test.zip --output test2.zip --proxy
server:8080 --proxytunnel
fc /b test.zip test2.zip

Note: same with all tested clients (curl and smartftp) and servers (iis6 &
Pure-FTPd on some *nix)

Louis Solomon
www.SteelBytes.com
Received on Fri Mar 11 2005 - 19:54:00 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST