Article View: news.software.nntp
Article #87204Re: About compression with NNTP
From: Michael Baeuerle
Date: Thu, 12 Nov 2015 09:17
Date: Thu, 12 Nov 2015 09:17
32 lines
2632 bytes
2632 bytes
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.
Technical Details
Message-ID:
<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-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>Show Full Headers
Complete Article Headers
Message-ID: <AABWRFK5oaAAAAm3.A1.flnews@WStation3.stz-e.de> Subject: Re: About compression with NNTP Date: Thu, 12 Nov 2015 10:17:16 +0100 From: Michael Baeuerle <michael.baeuerle@stz-e.de> 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> 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 Lines: 30 Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net 3I8ldhMVoepzLigwqKPJiwxWtzEZhcXqZgBegReY1rjT9Ys8dE X-Orig-Path: not-for-mail Cancel-Lock: sha1:+uD3VTKM1ewElTgQzrsESDMTeec= sha1:WcODFZte/CaTGpFRIxI0WuF7v8Q= Injection-Date: Thu, 12 Nov 2015 09:17:16 -0000 User-Agent: flnews/0.12 (for GNU/Linux) X-Received-Body-CRC: 2791809857 X-Received-Bytes: 2491