From: jfclere Date: Wed, 27 Aug 2008 07:42:58 +0000 (+0000) Subject: Fix for PR#45074 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=25f0bc10cf0ca99b4f2ff36256b0b822a3f36745;p=tomcat7.0 Fix for PR#45074 git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@689402 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/coyote/http11/Http11AprProtocol.java b/java/org/apache/coyote/http11/Http11AprProtocol.java index fe9145d06..09ae4c6cf 100644 --- a/java/org/apache/coyote/http11/Http11AprProtocol.java +++ b/java/org/apache/coyote/http11/Http11AprProtocol.java @@ -242,9 +242,15 @@ public class Http11AprProtocol implements ProtocolHandler, MBeanRegistration { public void setPollerSize(int pollerSize) { endpoint.setPollerSize(pollerSize); } public int getPollerSize() { return endpoint.getPollerSize(); } + public void setPollerThreadCount(int pollerThreadCount) { endpoint.setPollerThreadCount(pollerThreadCount); } + public int getPollerThreadCount() { return endpoint.getPollerThreadCount(); } + public int getSendfileSize() { return endpoint.getSendfileSize(); } public void setSendfileSize(int sendfileSize) { endpoint.setSendfileSize(sendfileSize); } + public void setSendfileThreadCount(int sendfileThreadCount) { endpoint.setSendfileThreadCount(sendfileThreadCount); } + public int getSendfileThreadCount() { return endpoint.getSendfileThreadCount(); } + protected int socketBuffer = 9000; public int getSocketBuffer() { return socketBuffer; } public void setSocketBuffer(int socketBuffer) { this.socketBuffer = socketBuffer; } diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index bf52e2d3e..20a39d555 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -49,6 +49,7 @@ + 45074Add configuration parameters in Http11AprProtocol 644858
Inproper curly brackets cause NIO/SendFile to fail. Workaround prior to this version, set useSendFile="false" in the Connector element.