Java's Inflater and Deflater allocates native resources when instantiated. This pull request closes them when the Compression handler is no longer needed (either when the connection is closed or the handler is removed from the pipeline) to clean up allocated native memory.
Java's Inflater and Deflater allocates native resources when instantiated. This pull request closes them when the Compression handler is no longer needed (either when the connection is closed or the handler is removed from the pipeline) to clean up allocated native memory.