Author: markt Date: Thu Oct 1 15:39:02 2015 New Revision: 1706274 URL: http://svn.apache.org/viewvc?rev=1706274&view=rev Log: Remove unused code.
Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java tomcat/trunk/webapps/docs/config/http.xml Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java?rev=1706274&r1=1706273&r2=1706274&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java Thu Oct 1 15:39:02 2015 @@ -57,9 +57,6 @@ public class Http11AprProtocol extends A public int getSendfileSize() { return ((AprEndpoint)getEndpoint()).getSendfileSize(); } public void setSendfileSize(int sendfileSize) { ((AprEndpoint)getEndpoint()).setSendfileSize(sendfileSize); } - public void setSendfileThreadCount(int sendfileThreadCount) { ((AprEndpoint)getEndpoint()).setSendfileThreadCount(sendfileThreadCount); } - public int getSendfileThreadCount() { return ((AprEndpoint)getEndpoint()).getSendfileThreadCount(); } - public boolean getDeferAccept() { return ((AprEndpoint)getEndpoint()).getDeferAccept(); } public void setDeferAccept(boolean deferAccept) { ((AprEndpoint)getEndpoint()).setDeferAccept(deferAccept); } Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=1706274&r1=1706273&r2=1706274&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Thu Oct 1 15:39:02 2015 @@ -173,14 +173,6 @@ public class AprEndpoint extends Abstrac /** - * Sendfile thread count. - */ - protected int sendfileThreadCount = 0; - public void setSendfileThreadCount(int sendfileThreadCount) { this.sendfileThreadCount = sendfileThreadCount; } - public int getSendfileThreadCount() { return sendfileThreadCount; } - - - /** * The socket poller. */ protected Poller poller = null; Modified: tomcat/trunk/webapps/docs/config/http.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/http.xml?rev=1706274&r1=1706273&r2=1706274&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/http.xml (original) +++ tomcat/trunk/webapps/docs/config/http.xml Thu Oct 1 15:39:02 2015 @@ -895,13 +895,6 @@ specified amount. The default value is 1024.</p> </attribute> - <attribute name="sendfileThreadCount" required="false"> - <p>Number of threads used service sendfile sockets. On Windows the - default is chosen so that the sockets managed by each thread is - less than 1024. For Linux the default is 1. Changing the default on - Windows is likely to have a negative performance impact.</p> - </attribute> - <attribute name="threadPriority" required="false"> <p>(int)The priority of the acceptor and poller threads. The default value is <code>5</code> (the value of the --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org