The CompressionServletResponseWrapper.flushBuffer method does not
flush the writer if it exists.  A PrintWriter may buffer some characters,
so the method should be:

     public void flushBuffer() throws IOException {
         //  System.out.println("flush buffer @ CompressionServletResponseWrapper");
         if (writer!=null)
             writer.flush();
         else
             ((CompressionResponseStream)stream).flush();
     }

regards


-- 
Greg Wilkins<[EMAIL PROTECTED]>          GB  Phone: +44-(0)7092063462
Mort Bay Consulting Australia and UK.    Mbl Phone: +61-(0)4 17786631
http://www.mortbay.com                   AU  Phone: +61-(0)2 98107029


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to