🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87210

Re: About compression with NNTP

#87210
From: Julien ÉLIE
Date: Thu, 12 Nov 2015 20:35
56 lines
3744 bytes
Hi Ken,

>> Could a sentence mention that use case in the draft?  (something
>> basically saying "the unstandardized XZVER and XZHDR commands can be
>> efficiently replaced with COMPRESS")
>
> I'm actually not sure I care about interoperability with non-standard
> extensions.  That being said, if a client does do COMPRESS + XZVER, the
> server should be smart enough to either disable/reject the XZ* commands
> or to set the compression level to 0 at the COMPRESS layer for the XZ*
> responses.

I was not speaking about interoperability of COMPRESS+XZVER but the fact 
that implementing COMPRESS removes the need of XZVER and XZHDR.

If you do not want to mention these commands, which I perfectly 
understand, I suggest to only add a sentence about the possible use of 
two parallel or consecutive connections to download overview data and/or 
headers via the first connection (using a compression layer) and bodies 
on the second (without any compression layer) if the client knows they 
are already in a compressed form (yEnc-encoded for instance).



> I thought the text that was removed was generic enough (for both POST
> and BODY, etc) but maybe not.  I will have to dig around the ietf-nntp
> mailing list to see what the issue was with that text.

It was a discussion between the two of us:

     http://lists.eyrie.org/pipermail/ietf-nntp/2010-January/006157.html

%%
 >> A very simple strategy is to change the level to 0 at the start of
 >> a multi-line data block provided the first two bytes are either
 >> 0x1F 0x8B (as in deflate-compressed files) or 0xFF 0xD8 (JPEG),
 >> and to keep it at 1-5 the rest of the time.
 >
 > It would apply to BODY only (at the start of a multi-line data block).

It would also apply to ARTICLE, POST, IHAVE, TAKETHIS.

 > But we usually have a MIME message or yEnc.  Not a binary file.

Correct, so this text can probably be removed.  IMAP has the ability to
fetch individual MIME parts, and an extension to do so with any CTE
stripped.
%%

-- 
Julien ÉLIE

« N'écoutant que son courage qui ne lui disait rien, il se garda
   d'intervenir. » (Jules Renard)

Technical Details
Message-ID: <n22t73$jqf$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
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> <n21ts0$gpr$1@news.trigofacile.com> <n22ns0$e1i$1@news.trigofacile.com> <n22p5l$fep$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <n22t73$jqf$1@news.trigofacile.com>
Subject: Re: About compression with NNTP
Date: Thu, 12 Nov 2015 21:35:47 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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> <n21ts0$gpr$1@news.trigofacile.com> <n22ns0$e1i$1@news.trigofacile.com> <n22p5l$fep$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=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 12 Nov 2015 20:35:47 -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="20303"; 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: <n22p5l$fep$1@news.trigofacile.com>
X-Received-Body-CRC: 1595476151
X-Received-Bytes: 3722