Author: remy.maucherat(a)jboss.com
Date: 2015-03-13 09:53:54 -0400 (Fri, 13 Mar 2015)
New Revision: 2598
Modified:
branches/7.5.x/src/main/java/org/apache/tomcat/util/net/AbstractEndpoint.java
Log:
BZ1200276: for now, disable "sendfile" (the only performance benefit with NIO2
is saving a thread), as fixing the code is a large change (in addition to being incorrect,
the current code is also bad for SSL since without keepalive capabilities there is a large
performance impact due to the reconnection).
Modified: branches/7.5.x/src/main/java/org/apache/tomcat/util/net/AbstractEndpoint.java
===================================================================
---
branches/7.5.x/src/main/java/org/apache/tomcat/util/net/AbstractEndpoint.java 2015-03-11
15:23:29 UTC (rev 2597)
+++
branches/7.5.x/src/main/java/org/apache/tomcat/util/net/AbstractEndpoint.java 2015-03-13
13:53:54 UTC (rev 2598)
@@ -179,7 +179,7 @@
/**
* Use sendfile for sending static files.
*/
- protected boolean useSendfile = true;
+ protected boolean useSendfile = false;
/**
* Reverse connection. In this proxied mode, the endpoint will not use a
Show replies by date