• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Sessions
  • teck
  • Reporter: jango
  • April 22, 2009
  • 1
  • Watchers: 2
  • March 05, 2010
  • January 28, 2010

Attachments

Description

Gzip filter not working good when the application is used with terracotta. The issue is specifically for contents sent via a request dispatcher, other contents are working fine. This application is working fine - I mean the gzip filter - when used without terracotta. Please find the attached war (Source is inside the war - WEB-INF/classes) and tc-config.xml

Comments

Fiona OShea 2009-04-22

Geert. Can you take a very quick look at this and see if you can figure it out.

Geert Bevin 2009-04-23

I tried this with the official 3.0.0 release of Terracotta and Jetty, the example works so I suppose it’s due to not using Tomcat.

Going to try with Tomcat 6.0.16 now, can you please provide the version number of Tomcat that you’re using?

Geert Bevin 2009-04-23

Confirmed, this doesn’t work with Tomcat 6.0.16

Geert Bevin 2009-04-23

It seems that the Content-Encoding header is swallowed, hence the client doesn’t know that the content is gzipped and doesn’t uncompress at usage.

Vinu Varghese 2009-04-24

I was using apache-tomcat-6.0.14

Ophir Radnitz 2009-07-27

Reproduced with JBoss 4.3.0 and Tomcat 6.0.18.

Fiona OShea 2010-01-18

If this is easy fix it please.

Nitin Rana 2010-02-23

Verified in Terracotta 3.2.1, as of 20100222-130232 (Revision 14609 by cruise@su10mo5 from 3.2).