tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net AprEndpoint.java
Date Sat, 23 Apr 2005 17:36:57 GMT
remm        2005/04/23 10:36:57

  Modified:    util/java/org/apache/tomcat/util/net AprEndpoint.java
  Log:
  - It works great (very good performance, seems reliable seen from ab), so attempt to use
sendfile by default.
  - So far, I haven't seen a socket going to the poller, but as I'm doing localhost testing,
it might be normal.
  
  Revision  Changes    Path
  1.18      +1 -1      jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java
  
  Index: AprEndpoint.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- AprEndpoint.java	23 Apr 2005 17:33:40 -0000	1.17
  +++ AprEndpoint.java	23 Apr 2005 17:36:57 -0000	1.18
  @@ -284,7 +284,7 @@
       /**
        * Use endfile for sending static files.
        */
  -    protected boolean useSendfile = false;
  +    protected boolean useSendfile = true;
       public void setUseSendfile(boolean useSendfile) { this.useSendfile = useSendfile; }
       public boolean getUseSendfile() { return useSendfile; }
   
  
  
  

---------------------------------------------------------------------
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