Re: [NNTP] NNTP Compression

Ken Murchison <[email protected]> Mon, 25 Jan 2010 12:04:50 -0500
Newsgroups gmane.ietf.nntp
Organization Carnegie Mellon University
Message-ID <[email protected]>
Julien ÉLIE wrote:
> Hi Ken,
> 
>> I'd have to look at the zlib docs and the actual Diablo code (which I 
>> have no desire to do), but tt looks like MODE COMPRESS is actually 
>> putting a gzip header on each chunk of compressed data.  The COMPRESS 
>> command as standardized by IMAP/NNTP COMPRESS doesn't bother putting 
>> an unnecessary header on the data. That's why IMAP/NNTP COMPRESS uses 
>> [de|in]flatInit2() calls rather than the simpler [de|in]flateInit(), 
>> so it can specify more params rather than using defaults.
> 
> OK, then it is better not to use what Diablo implemented.

I'm not saying that we can't still use 207, since the client knows 
whether it sent MODE COMPRESS or COMPRESS DEFLATE.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University