luehe 2003/10/05 14:00:38 Modified: catalina/src/share/org/apache/coyote/tomcat5 CoyoteConnector.java Log: Set the tcpNoDelay property on the underlying socket even if this property has not been set explicitly on CoyoteConnector (in which case the property of the underlying socket is set to TRUE, the default in CoyoteConnector). This restores the behaviour in earlier CoyoteConnector versions and fixes a huge performance degradation. Revision Changes Path 1.29 +8 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java Index: CoyoteConnector.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- CoyoteConnector.java 2 Sep 2003 21:21:59 -0000 1.28 +++ CoyoteConnector.java 5 Oct 2003 21:00:38 -0000 1.29 @@ -364,6 +364,13 @@ private String URIEncoding = null; + // ------------------------------------------------------------ Constructor + + public CoyoteConnector() { + setProperty("tcpNoDelay", String.valueOf(tcpNoDelay)); + } + + // ------------------------------------------------------------- Properties /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]