Article View: news.software.nntp
Article #87074Re: About compression with NNTP
From: Michael Baeuerle
Date: Thu, 15 Oct 2015 16:44
Date: Thu, 15 Oct 2015 16:44
31 lines
2596 bytes
2596 bytes
Russ Allbery wrote: > Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes: > > > > I received a private comment highlighting the fact that the COMPRESS > > command, as described in that draft, is not necessarily straight-forward > > to implement in all existing software. The reason is that the mandatory > > use of deflate() from zlib implies that NNTP software can cope with > > 0-bytes in the stream. Which is not always the case. > > But that's also true of STARTTLS. > [...] > It should therefore be no harder to implement COMPRESS in an > implementation that can't handle nul octets than in one that can. In both > cases, COMPRESS happens in the low-level guts of the network code, and the > rest of the software should be able to ignore its presence. And this simplicity is what looks nice. The feature can be added without rewriting larger parts of the agent. Comment to the algorithm list: That one or more compression algorithms are mandatory (like DEFLATE in the draft) is not really necessary. Why should it be forbidden for a server to advertise something like "COMPRESS LZMA" or anything else it consider useful (without DEFLATE in the list)? If the other end of the connection don't support the advertised algorithm(s), the data transfers would be uncompressed - as with no COMPRESS capability. As long as the COMPRESS capability itself is optional, all compression algorithms can be optional too.
Technical Details
Message-ID:
<AABWH9TID0cAAAnW.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>Show Full Headers
Complete Article Headers
Message-ID: <AABWH9TID0cAAAnW.A1.flnews@WStation3.stz-e.de> Subject: Re: About compression with NNTP Date: Thu, 15 Oct 2015 16:44:54 +0000 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> 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: 29 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 7RgqpzfQq32DZliM9VFldgA2Wb6pGw76jAoEjmBIby+ARShg/w X-Orig-Path: not-for-mail Cancel-Lock: sha1:J5bPtNNqsfwLkzzTFaylItJnE84= sha1:0k9q8CLTFulnIdazO4QMnITnU80= Injection-Date: 15 Oct 2015 16:44:54 -0000 User-Agent: flnews/0.11rc2 (for GNU/Linux) X-Received-Body-CRC: 2068625989 X-Received-Bytes: 2450