You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2003/10/08 10:48:32 UTC
cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3 CoyoteInterceptor2.java
hgomez 2003/10/08 01:48:32
Modified: coyote/src/java/org/apache/coyote/tomcat3
CoyoteInterceptor2.java
Log:
Comment gzip/http 1.1 tuning for Coyote 2 (now it's using HEAD)
Revision Changes Path
1.17 +16 -1 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor2.java
Index: CoyoteInterceptor2.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor2.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- CoyoteInterceptor2.java 18 Sep 2003 16:13:57 -0000 1.16
+++ CoyoteInterceptor2.java 8 Oct 2003 08:48:32 -0000 1.17
@@ -103,6 +103,21 @@
* <ul>
* <li>reportedname - name of server sent back to browser (security purposes)</li>
* </ul>
+ * <ul>
+ * <li>compression - use gzip compression in HTTP 1.1 (on/off) - def off</li>
+ * </ul>
+ * <ul>
+ * <li>compressionMinSize - minimum size content to use gzip compression in HTTP 1.1 - def 2048</li>
+ * </ul>
+ * <ul>
+ * <li>noCompressionUserAgents - comma separated list of userAgents who didn't support gzip</li>
+ * </ul>
+ * <ul>
+ * <li>restrictedUserAgents - comma separated list of userAgents who didn't support HTTP 1.1 (use HTTP 1.0)</li>
+ * </ul>
+ * <ul>
+ * <li>compressableMimeTypes - comma separated list of mime types supported for compression - def text/html,text/xml,text/plain</li>
+ * </ul>
*/
public class CoyoteInterceptor2 extends BaseInterceptor
{
@@ -114,7 +129,7 @@
super();
// defaults:
this.setAttribute( "port", "8080" );
- this.setAttribute( "soLinger", "100" );
+ this.setAttribute( "soLinger", "-1" );
}
// -------------------- PoolTcpConnector --------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org