RE: FW: [Bug 57870] backport GzipOutputFilter #doWrite to Tomcat 7 to call GZIPOutputStream to enable flushing via reflection when running on Java 7+

2017-10-19 Thread Kapil Kumar
Hello all, I compared the code in GzipOutputFilter.java Tomcat7 has: public long end() throws IOException { if (compressionStream == null) { compressionStream = new FlushableGZIPOutputStream(fakeOutputStream); } compressionStream.finish();

Re: FW: [Bug 57870] backport GzipOutputFilter #doWrite to Tomcat 7 to call GZIPOutputStream to enable flushing via reflection when running on Java 7+

2017-10-16 Thread Mark Thomas
On 16/10/17 16:03, Kapil Kumar wrote: > Hello all, > > Could anyone please guide me about this bug and how should I approach solving > this. Compare the GzipOutputFilter implementations between Tomcat 7 and Tomcat 8. In particular look how the use of FlushableGZIPOutputStream has been replaced