411909 - GzipFilter flushbuffer() results in erroneous finish() call

+ Bad finish() call changed to more appropriate flush() call
This commit is contained in:
Joakim Erdfelt 2013-06-28 10:20:20 -07:00
parent 0daddd1a3a
commit 162cbc1416
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ public abstract class CompressedResponseWrapper extends HttpServletResponseWrapp
if (_writer!=null) if (_writer!=null)
_writer.flush(); _writer.flush();
if (_compressedStream!=null) if (_compressedStream!=null)
_compressedStream.finish(); _compressedStream.flush();
else else
getResponse().flushBuffer(); getResponse().flushBuffer();
} }