https://bz.apache.org/bugzilla/show_bug.cgi?id=57870
Bug ID: 57870
Summary: backport GzipOutputFilter #doWrite to Tomcat 7 to call
GZIPOutputStream to enable flushing via reflection
when running on Java 7+
Product: Tomcat 7
Version: 7.0.54
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Connectors
Assignee: [email protected]
Reporter: [email protected]
followup of https://bz.apache.org/bugzilla/show_bug.cgi?id=57866 (short version
here)
FlushableGZIPOutputStream does not compress after the first flush() due to a
bug in the JVM (already reported upstream).
As per https://bz.apache.org/bugzilla/show_bug.cgi?id=57866#c3 (Konstantin
Kolinko):
> Tomcat 8 does not use FlushableGZIPOutputStream, but uses new Java7+
> constructor for java.util.zip.GZIPOutputStream to enable flushing.
> It should be possible to backport that to Tomcat 7 to call that constructor
> via reflection when running on Java 7+.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]