tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52121] corrupt gzip output when compression=on in server.xml
Date Fri, 11 Nov 2011 04:34:39 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52121

--- Comment #14 from Konstantin Kolinko <knst.kolinko@gmail.com> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message