netty/netty — Issue #157: ZlibDecoder does not support preset dictionary
Author: jpinner
Created: 2012-01-21 22:31:04+00:00
State: open

Attempting to create a ZlibDecoder using the preset dictionary constructor throws a compression exception:

org.jboss.netty.handler.codec.compression.CompressionException: failed to set the dictionary (-2)

z.inflateSetDictionary should not be called until the inflate returns JZlib.Z_NEED_DICT