Merged branch 'jetty-9.4.x' into 'master'.
This commit is contained in:
commit
22e9c5a7bf
|
@ -22,11 +22,9 @@ import org.eclipse.jetty.io.ByteBufferPool;
|
|||
|
||||
/**
|
||||
* {@link ContentDecoder} for the "gzip" encoding.
|
||||
*
|
||||
*/
|
||||
public class GZIPContentDecoder extends org.eclipse.jetty.http.GZIPContentDecoder implements ContentDecoder
|
||||
{
|
||||
|
||||
private static final int DEFAULT_BUFFER_SIZE = 2048;
|
||||
|
||||
public GZIPContentDecoder()
|
||||
|
|
|
@ -101,7 +101,6 @@ public class GZIPContentDecoder implements Destroyable
|
|||
if (size<=_inflated.capacity())
|
||||
{
|
||||
BufferUtil.append(_inflated,chunk);
|
||||
BufferUtil.put(chunk,_inflated);
|
||||
release(chunk);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue