On Sun, Apr 03, 2005 at 03:41:07PM +0400, Artem B. Bityuckiy wrote:I've looked through RFC-2394 quickly, but didn't found any mention about non-complient zstreams. I suppose they must be complient by default. Although I'm far not an expert in the area.
I also wonder, does it at all correct to use negative windowBits in crypto API? I mean, if windowBits is negative, zlib doesn't produce the
It's absolutely correct for IPComp. For other uses it may or may not
be correct.
For instance for JFFS2 it's absolutely incorrect since it breaksAnyway, in JFFS2 we may do that "hack" before calling pcompress(), so it isn't big problem.
compatibility. Incidentally, JFFS should create a new compression
type that doesn't include the zlib header so that we don't need the
head-skipping speed hack.
Yes, I'd love to see a patch that makes windowBits configurable inI wonder, do we really want this?
crypto/deflate.c.