tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 CoyoteConnector.java
Date Sun, 05 Oct 2003 21:00:38 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message