Article View: news.software.nntp
Article #87205Re: About compression with NNTP
From: Ken Murchison
Date: Thu, 12 Nov 2015 11:40
Date: Thu, 12 Nov 2015 11:40
49 lines
3295 bytes
3295 bytes
On 11/12/2015 04:17 AM, Michael Baeuerle wrote: > Julien ÉLIE wrote: >> Michael Bäuerle wrote: >>> Julien ÉLIE wrote: >>>> >>>> - Should we keep the COMPRESS name, or switch to something like >>>> STARTCOMPRESSION? (to keep the semantics of the existing STARTTLS >>>> command) >>> >>> I think COMPRESS is OK because the negotiation is already done at >>> execution time (The capability list advertises the algorithms and then >>> one is activated with e.g. "COMPRESS DEFLATE" directly). Therefore the >>> command normally should never fail. >>> >>> For STARTTLS things are different. This command _start_ a negotiation >>> and it is unknown at execution time whether there are common algorithms >>> supported by both ends. >> >> The only counter-arguments I would have is the fact that >> STARTCOMPRESSION could be read as "straight after the successful >> response of the server, every exchange is compressed". >> And, in case it could be useful for clients, we could define >> ENDCOMPRESSION, that purely removes compression. >> >> (Another possibility: "COMPRESS START DEFLATE" and "COMPRESS END".) >> >> Well, that's only thoughts for an additional feature to compression. > > This syntax IMHO looks nice (for a protocol like NNTP, that is designed > to be human readable too), but is more complicated. I think we should > only use it if the option "END" is really required. Agreed, is there an actual use case for disabling compression once it has been enabled? COMPRESS has been deployed for IMAP for quite a while and I'm not aware of anyone requesting an ENDCOMPRESS command, or an ENDTLS command for that matter. If the client wants to stop compression (or TLS) on a particular connection, it can simply QUIT and open a new connection. -- Kenneth Murchison Principal Systems Software Engineer Carnegie Mellon University
Technical Details
Message-ID:
<n21ts0$gpr$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <mvrm9s$i1l$1@news.trigofacile.com> <AABWIitSev0AAEcG.A1.flnews@WStation4.micha.freeshell.org> <n1vrgu$6fj$1@news.trigofacile.com> <AABWRFK5oaAAAAm3.A1.flnews@WStation3.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <n21ts0$gpr$1@news.trigofacile.com> Subject: Re: About compression with NNTP Date: Thu, 12 Nov 2015 06:40:46 -0500 From: Ken Murchison <murch@andrew.cmu.edu> References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <mvrm9s$i1l$1@news.trigofacile.com> <AABWIitSev0AAEcG.A1.flnews@WStation4.micha.freeshell.org> <n1vrgu$6fj$1@news.trigofacile.com> <AABWRFK5oaAAAAm3.A1.flnews@WStation3.stz-e.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: Carnegie Mellon University Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 12 Nov 2015 11:40:48 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="Ken"; posting-host="cpe-76-180-151-43.buffalo.res.rr.com:76.180.151.43"; logging-data="17211"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <AABWRFK5oaAAAAm3.A1.flnews@WStation3.stz-e.de> X-Received-Body-CRC: 3082795155 X-Received-Bytes: 3243