From: Eric Hodel Date: 2009-04-06T14:50:02+09:00 Subject: Re: zlib Deflate to java.util.zip inflate problem On Apr 5, 2009, at 02:48, Alexey Borzenkov wrote: > Could it be that your java side is expecting the new zlib format? > > As could be seen in your first post, you are using -MAX_WBITS, which > enables old (headerless? don't know what it's called) zlib format, > that > has no gzip header and no checksum. Maybe you should be using > +MAX_WBITS > (the default), which adds necessary header and checksum. Agreed, you probably only want -MAX_WBITS when implementing a gzip stream.