Re: http gzip support for ftp

2011-04-07 Thread Martynas Venckus
@openbsd.org Subject: Re: http gzip support for ftp In-Reply-To: alpine.bso.2.00.1101091616360.14...@zvav.g3ey.bet Message-ID: alpine.bso.2.00.1101091707210.14...@zvav.g3ey.bet References: alpine.bso.2.00.1101091616360.14...@zvav.g3ey.bet User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME

Re: http gzip support for ftp

2011-04-07 Thread Stuart Henderson
On 2011/04/07 15:03, Martynas Venckus wrote: As much as I like it, I'm not sure we'll be able to enable this by default, though. There are quite some misconfigured servers out there, like: http://elinks.cz/download/elinks-0.11.7.tar.gz This one incorrectly sends:

Re: http gzip support for ftp

2011-01-14 Thread Marc Espie
On Sun, Jan 09, 2011 at 04:21:51PM -0500, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp program's http support. It consists of two parts. Support for deflating the data we receive and support

Re: http gzip support for ftp

2011-01-14 Thread Ted Unangst
On Fri, Jan 14, 2011 at 12:08 PM, Marc Espie es...@nerim.net wrote: On Sun, Jan 09, 2011 at 04:21:51PM -0500, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp program's http support. It consists of

Re: http gzip support for ftp

2011-01-14 Thread Joerg Sonnenberger
On Fri, Jan 14, 2011 at 06:08:54PM +0100, Marc Espie wrote: On Sun, Jan 09, 2011 at 04:21:51PM -0500, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp program's http support. It consists of two

Re: http gzip support for ftp

2011-01-13 Thread Ted Unangst
On Sun, Jan 9, 2011 at 5:08 PM, Ted Unangst ted.unan...@gmail.com wrote: On Sun, 9 Jan 2011, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp program's http support. Please test, as there are

Re: http gzip support for ftp

2011-01-13 Thread Vadim Zhukov
On 14 January 2011 c. 02:26:24 Ted Unangst wrote: On Sun, Jan 9, 2011 at 5:08 PM, Ted Unangst ted.unan...@gmail.com wrote: On Sun, 9 Jan 2011, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp

Re: http gzip support for ftp

2011-01-09 Thread Ted Unangst
On Sun, 9 Jan 2011, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp program's http support. It consists of two parts. Support for deflating the data we receive and support for the chunked

Re: http gzip support for ftp

2011-01-09 Thread Ted Unangst
On Sun, 9 Jan 2011, Ted Unangst wrote: Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp program's http support. poopers, I hard coded gzipped to 1 by accident. 3rd time's a charm. Please test, as there are obviously

Re: http gzip support for ftp

2011-01-09 Thread Mark Kettenis
Date: Sun, 9 Jan 2011 17:08:22 -0500 (EST) From: Ted Unangst ted.unan...@gmail.com #endif /* !SMALL */ ftp_printf(fin, ssl, GET /%s %s\r\nHost: , epath, #ifndef SMALL - restart_point ? HTTP/1.1\r\nConnection: close : +

Re: http gzip support for ftp

2011-01-09 Thread Ted Unangst
On Sun, Jan 9, 2011 at 5:17 PM, Mark Kettenis mark.kette...@xs4all.nl wrote: Date: Sun, 9 Jan 2011 17:08:22 -0500 (EST) From: Ted Unangst ted.unan...@gmail.com #endif /* !SMALL */ ftp_printf(fin, ssl, GET /%s %s\r\nHost: , epath, #ifndef SMALL -

http gzip support for ftp

2011-01-09 Thread Ted Unangst
Downloading things can go a lot faster if the server and client support http compression. This is easily added to the ftp program's http support. It consists of two parts. Support for deflating the data we receive and support for the chunked transfer the server will use to send data to us.

Re: http gzip support for ftp

2011-01-09 Thread Philip Guenther
On Sun, Jan 9, 2011 at 2:17 PM, Mark Kettenis mark.kette...@xs4all.nl wrote: Date: Sun, 9 Jan 2011 17:08:22 -0500 (EST) From: Ted Unangst ted.unan...@gmail.com #endif /* !SMALL */ ftp_printf(fin, ssl, GET /%s %s\r\nHost: , epath, #ifndef SMALL -

Re: http gzip support for ftp

2011-01-09 Thread Brynet
If someone can find a server that is broken and barfs on getting a request version greater than it expects Marcus Glocker's nostromo has this problem, among others, I can't seem to get any feedback out of him though. ;-) It rejects HTTP/1.2, even though that's nonexistent.. a server must