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