Author: markt Date: Tue Oct 15 11:57:48 2013 New Revision: 1532296 URL: http://svn.apache.org/r1532296 Log: Change the default for the new gzip option on the default Servlet to disabled.
Modified: tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java tomcat/trunk/webapps/docs/default-servlet.xml Modified: tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java?rev=1532296&r1=1532295&r2=1532296&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java (original) +++ tomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java Tue Oct 15 11:57:48 2013 @@ -141,9 +141,9 @@ public class DefaultServlet /** - * Should be serve gzip versions of files. By default, it's set to true. + * Should be serve gzip versions of files. By default, it's set to false. */ - protected boolean gzip = true; + protected boolean gzip = false; /** Modified: tomcat/trunk/webapps/docs/default-servlet.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/default-servlet.xml?rev=1532296&r1=1532295&r2=1532296&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/default-servlet.xml (original) +++ tomcat/trunk/webapps/docs/default-servlet.xml Tue Oct 15 11:57:48 2013 @@ -98,7 +98,7 @@ directory listings are disabled and debu If a gzipped version of a file exists (a file with <code>.gz</code> appended to the file name located alongside the original file), Tomcat will serve the gzipped file if the user agent supports gzip and this - option is enabled. [true] + option is enabled. [false] <br /> The file with the <code>.gz</code> extension will be accessible if requested directly so if the original resource is protected with a --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org