From: pero Date: Fri, 18 May 2007 18:05:40 +0000 (+0000) Subject: Hups, Http11NioProcessor need FirstReadTimeout at strange way.. Sorry! X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c830e23d003a8ac32d4e36b2c649dd107ec7ce57;p=tomcat7.0 Hups, Http11NioProcessor need FirstReadTimeout at strange way.. Sorry! git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@539542 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index dfa74a4ed..cca2c44b9 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -430,6 +430,13 @@ public class NioEndpoint { public void setSoTimeout(int soTimeout) { socketProperties.setSoTimeout(soTimeout); } /** + * Timeout on first request read before going to the poller, in ms. + */ + protected int firstReadTimeout = 60000; + public int getFirstReadTimeout() { return firstReadTimeout; } + public void setFirstReadTimeout(int firstReadTimeout) { this.firstReadTimeout = firstReadTimeout; } + + /** * The default is true - the created threads will be * in daemon mode. If set to false, the control thread * will not be daemon - and will keep the process alive.