🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87282

Re: draft-murchison-nntp-compress-02

#87282
From: Julien ÉLIE
Date: Sat, 05 Dec 2015 18:42
44 lines
3152 bytes
Hi Michael,

>> I've just switched my server to use Z_PARTIAL_FLUSH instead of Z_SYNC_FLUSH.
>> Do you confirm everything still works fine?
>
> And if Z_PARTIAL_FLUSH should create problems for implementations not
> based on zlib, the change would be a single line.

Sure.
Notwithstanding, if we already know that such implementations exist, we 
should use Z_SYNC_FLUSH and explicitly prohibit Z_PARTIAL_FLUSH.  I have 
just sent a mail to the author of the compression part of zlib 
(Jean-Loup Gailly) to ask him whether he has a clue about that.


> I have also tested zlib 1.2.3 (10 years old) - the oldest version from
> the 1.2 branch without documented security vulnerabilities. No problems
> occured.
> It also provides both, Z_PARTIAL_FLUSH and Z_SYNC_FLUSH. So there should
> be no compatibility problems on older systems, regardless of which
> method the final RFC will specify.

OK.  I've looked at:
     http://www.zlib.net/ChangeLog.txt

Changes in 1.2.3.4 (21 Dec 2009)
- Remove deprecation comment on Z_PARTIAL_FLUSH (it stays)

Changes in 0.5:
- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
not yet Z_FULL_FLUSH.



There will be no problem to use Z_PARTIAL_FLUSH for INN (which already 
requires zlib 1.x or higher for overview compression with Berkeley DB).

-- 
Julien ÉLIE

« C'est une forêt vierge où la main de l'homme n'a jamais mis le
   pied. »

Technical Details
Message-ID: <n3vb6q$l5p$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> <n3fntl$8nu$1@news.trigofacile.com> <AABWXtQCnL0AAAo3.A1.flnews@WStation3.stz-e.de> <AABWXxpmm9cAABuV.A1.flnews@WStation3.stz-e.de> <n3sosp$an7$2@news.trigofacile.com> <AABWYumTqv0AAFK0.A1.flnews@WStation4.micha.freeshell.org> <n3urrv$3ip$1@news.trigofacile.com> <AABWYvNyQmkAAFK0.A1.flnews@WStation4.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <n3vb6q$l5p$1@news.trigofacile.com>
Subject: Re: draft-murchison-nntp-compress-02
Date: Sat, 5 Dec 2015 19:42:34 +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> <n3fntl$8nu$1@news.trigofacile.com> <AABWXtQCnL0AAAo3.A1.flnews@WStation3.stz-e.de> <AABWXxpmm9cAABuV.A1.flnews@WStation3.stz-e.de> <n3sosp$an7$2@news.trigofacile.com> <AABWYumTqv0AAFK0.A1.flnews@WStation4.micha.freeshell.org> <n3urrv$3ip$1@news.trigofacile.com> <AABWYvNyQmkAAFK0.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: Sat, 5 Dec 2015 18:42:34 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-143-45.w83-199.abo.wanadoo.fr:83.199.238.45";
 logging-data="21689"; 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.4.0
In-Reply-To: <AABWYvNyQmkAAFK0.A1.flnews@WStation4.micha.freeshell.org>
X-Received-Body-CRC: 3743163727
X-Received-Bytes: 3156