remm 2003/10/06 01:46:04 Modified: http11/src/java/org/apache/coyote/http11 Constants.java Http11Protocol.java Log: - Set the proper default for TCP no delay in HTTP protocol. Revision Changes Path 1.20 +1 -0 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Constants.java Index: Constants.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Constants.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- Constants.java 3 Oct 2003 11:31:40 -0000 1.19 +++ Constants.java 6 Oct 2003 08:46:04 -0000 1.20 @@ -79,6 +79,7 @@ public static final int DEFAULT_CONNECTION_TIMEOUT = 60000; public static final int DEFAULT_CONNECTION_UPLOAD_TIMEOUT = 300000; public static final int DEFAULT_SERVER_SOCKET_TIMEOUT = 0; + public static final boolean DEFAULT_TCP_NO_DELAY = true; /** * Server string. 1.41 +1 -0 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java Index: Http11Protocol.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- Http11Protocol.java 1 Oct 2003 10:24:47 -0000 1.40 +++ Http11Protocol.java 6 Oct 2003 08:46:04 -0000 1.41 @@ -103,6 +103,7 @@ setSoLinger(Constants.DEFAULT_CONNECTION_LINGER); setSoTimeout(Constants.DEFAULT_CONNECTION_TIMEOUT); setServerSoTimeout(Constants.DEFAULT_SERVER_SOCKET_TIMEOUT); + setTcpNoDelay(Constants.DEFAULT_TCP_NO_DELAY); } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]