[NNTP] NNTP Compression

Ken Murchison murch at andrew.cmu.edu
Mon Jan 25 09:04:50 PST 2010


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


More information about the ietf-nntp mailing list