tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52121] corrupt gzip output when compression=on in server.xml
Date Fri, 11 Nov 2011 04:34:39 GMT

--- Comment #14 from Konstantin Kolinko <> 2011-11-11 04:34:39
UTC ---
(In reply to comment #11)
>> Debugging with trunk, there is problem in OutputBuffer.close().
>> It does:
>>         doFlush(false);
>>         closed = true;
>> It closes underlying stream without closing FlushableGZIPOutputStream first.
>> Consequently the attempt to write out the last byte at
>> FlushableGZIPOutputStream#close() fails with an IOException.

Just to clear misinformation: the statements quoted above are wrong.

It behaved as if the stream were closed, but the real cause was finished
Deflater. It has nothing to do with the underlying buffer and the code fragment
above. See r1200696

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message