• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009


The GzipFilter does not check the response code before comressing content. if the response is a 304, then it is not permitted to have any content - but gzip will always produce at least 20 bytes even if there was zero bytes written.

Servlet containers should discard those bytes for you, but there is nothing in the servlet spec that says how this should be done. It would be legal for the container to close the output stream so the gzip filter would encounter exceptions when trying to write these bytes.

cheers Sourceforge Ticket ID: 1486858 - Opened By: gregwilkins - 11 May 2006 20:35 UTC


Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira