🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87267

Re: draft-murchison-nntp-compress-02

#87267
From: Julien ÉLIE
Date: Sun, 29 Nov 2015 20:41
26 lines
2322 bytes
Hi Michael,

> I have tested both variants in flnews and Z_PARTIAL_FLUSH was better for
> small data blocks like commands.
[...]
> Viewed from the interoperability point, anything except Z_FULL_FLUSH
> will require some knowledge on the opposite side to work (please correct
> me if this is wrong). In this case Z_SYNC_FLUSH don't solve the problem
> (and always using Z_FULL_FLUSH would result in bad compression ratios).
> But because zlib is so ubiquitous (and NNTP don't require compression to
> work), IMHO it is acceptable to explicitly define a zlib flush method to
> be used for the DEFLATE algorithm.

Then let's explicitly require Z_PARTIAL_FLUSH to be used, as it saves a 
few bytes.

Are we sure that implementations of DEFLATE (other than zlib) know 
partial flushes?
RFC 1951 does not mention partial or sync flushes...

-- 
Julien ÉLIE

« Qui habet aures audiendi, audiat. » (Évangiles)

Technical Details
Message-ID: <n3fntl$8nu$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: <n229bp$tel$1@news.trigofacile.com> <n3d370$4bg$1@news.trigofacile.com> <AABWWsKcsJ8AAAGM.A1.flnews@WStation1.micha.freeshell.org> <n3fgba$vh4$1@news.trigofacile.com> <AABWW0vIXqsAAEWe.A1.flnews@WStation4.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <n3fntl$8nu$1@news.trigofacile.com>
Subject: Re: draft-murchison-nntp-compress-02
Date: Sun, 29 Nov 2015 21:41:25 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <n229bp$tel$1@news.trigofacile.com> <n3d370$4bg$1@news.trigofacile.com> <AABWWsKcsJ8AAAGM.A1.flnews@WStation1.micha.freeshell.org> <n3fgba$vh4$1@news.trigofacile.com> <AABWW0vIXqsAAEWe.A1.flnews@WStation4.micha.freeshell.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
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: Sun, 29 Nov 2015 20:41:25 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-294-16.w83-114.abo.wanadoo.fr:83.114.213.16";
 logging-data="8958"; 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: <AABWW0vIXqsAAEWe.A1.flnews@WStation4.micha.freeshell.org>
X-Received-Body-CRC: 454102908
X-Received-Bytes: 2391