Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x-ewyk
This commit is contained in:
commit
8159c508f0
|
@ -561,9 +561,13 @@ public class GzipHandler extends HandlerWrapper implements GzipFactory
|
||||||
@Override
|
@Override
|
||||||
public void recycle(Deflater deflater)
|
public void recycle(Deflater deflater)
|
||||||
{
|
{
|
||||||
deflater.reset();
|
|
||||||
if (_deflater.get()==null)
|
if (_deflater.get()==null)
|
||||||
|
{
|
||||||
|
deflater.reset();
|
||||||
_deflater.set(deflater);
|
_deflater.set(deflater);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
deflater.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue