Article View: news.software.nntp
Article #87200Re: About compression with NNTP
From: Julien ÉLIE
Date: Wed, 11 Nov 2015 17:25
Date: Wed, 11 Nov 2015 17:25
77 lines
4183 bytes
4183 bytes
Hi Ken,
> I'm here and ready to refresh the draft.
Many thanks!
> One question I have is whether we should remove all discussion of TLS
> compression, or leave it and discuss why COMPRESS is preferred.
I think the discussion of TLS compression can remain, but explicitly
mentioning that it concerns versions <= 1.2 of TLS. Then, say why
COMPRESS is preferred.
In the TLS WG, they mention another reason that you could say in the
revised draft: using COMPRESS instead of relaying on TLS compression is
a simpler and less-risky approach in terms of software dependencies.
Moreover, application protocols can handle compression better and more
safely, as they can actually know what they are doing and how to
properly compress it.
> Regarding the discussion of implementation with zlib, any text in the
> draft with respect to that is informative, not normative. RFC 1951 is
> the normative reference for the compression format.
Though the text is informative, I reckon that it should not give the
inexact feeling that any choice between -8 and -15 is also good for
inflateInit2(). One could choose -10 for deflateInit2() and, when then
he mechanically also use the same number for inflateInit2().
Adding the informative precision to use -15 for inflateInit2() could be
worthwhile I think. It wouldn't harm.
> Anything else?
A word about "high compression levels that could create problems"? or
is it totally out of scope of an RFC?
In Section 3, mentioning:
- LAST at the same time as NEXT,
- LISTGROUP and NEWGROUPS at the same time as GROUP,
- HDR at the same time as HEAD,
- OVER at the same time as HEAD *instead* of where it is currently
mentioned, because OVER is related to article headers.
I see that AUTHINFO is not mentioned in Section 3, so maybe it was
already not intended to be compressed? :)
As for ABNF:
compress-capability = "COMPRESS" *(WS algorithm)
=> I suggest 1*(WS algorithm) for "at least one".
algorithm = "DEFLATE" / token
=> I suggest a grammar similar to RFC 4644 (SASL mechanisms):
algorithm = "DEFLATE" / 1*20algo-char
algo-char = UPPER / DIGIT / "-" / "_"
Yet, is it necessary to add "DEFLATE" here and not only having:
algorithm = 1*20algo-char
?
--
Julien ÉLIE
« – Et souvenez-vous ! La seule chose que nous ayons à craindre,
c'est que le ciel nous tombe sur la tête !
– …Et souvenez-vous, Romains, la seule chose que nous ayons à
craindre, c'est les Gaulois ! » (Astérix)
Technical Details
Message-ID:
<n1vtlu$8v6$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> <AABWN95ofdEAABgy.A1.flnews@WStation1.micha.freeshell.org> <AABWPOnx3uEAABCC.A1.flnews@WStation3.stz-e.de> <n1l1h4$4bb$1@news.trigofacile.com> <AABWPjINJkIAAAOH.A1.flnews@WStation1.micha.freeshell.org> <n1r2o7$qoj$1@news.trigofacile.com> <AABWQiV44igAADh2.A1.flnews@WStation3.stz-e.de> <n1tjrv$m5q$1@news.trigofacile.com> <AABWQxKexa4AACik.A1.flnews@WStation3.stz-e.de> <n1vhbg$qfu$1@news.trigofacile.com> <n1voc2$32p$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <n1vtlu$8v6$1@news.trigofacile.com> Subject: Re: About compression with NNTP Date: Wed, 11 Nov 2015 18:25:17 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWN95ofdEAABgy.A1.flnews@WStation1.micha.freeshell.org> <AABWPOnx3uEAABCC.A1.flnews@WStation3.stz-e.de> <n1l1h4$4bb$1@news.trigofacile.com> <AABWPjINJkIAAAOH.A1.flnews@WStation1.micha.freeshell.org> <n1r2o7$qoj$1@news.trigofacile.com> <AABWQiV44igAADh2.A1.flnews@WStation3.stz-e.de> <n1tjrv$m5q$1@news.trigofacile.com> <AABWQxKexa4AACik.A1.flnews@WStation3.stz-e.de> <n1vhbg$qfu$1@news.trigofacile.com> <n1voc2$32p$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 Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 11 Nov 2015 17:25:18 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-233-36.w83-200.abo.wanadoo.fr:83.200.8.36"; logging-data="9190"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <n1voc2$32p$1@news.trigofacile.com> X-Received-Body-CRC: 1070747369 X-Received-Bytes: 4240