Author: remy.maucherat(a)jboss.com
Date: 2011-12-07 11:23:56 -0500 (Wed, 07 Dec 2011)
New Revision: 1885
Modified:
trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
trunk/java/org/apache/coyote/http11/Http11Protocol.java
Log:
Default to unlimited timeouts, for now.
Modified: trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
===================================================================
--- trunk/java/org/apache/coyote/http11/Http11AprProtocol.java 2011-12-07 16:23:26 UTC
(rev 1884)
+++ trunk/java/org/apache/coyote/http11/Http11AprProtocol.java 2011-12-07 16:23:56 UTC
(rev 1885)
@@ -379,7 +379,7 @@
* Maximum number of requests which can be performed over a keepalive
* connection. The default is the same as for Apache HTTP Server.
*/
- protected int maxKeepAliveRequests =
Integer.valueOf(System.getProperty("org.apache.coyote.http11.Http11Protocol.MAX_KEEP_ALIVE_REQUESTS",
"100")).intValue();
+ protected int maxKeepAliveRequests =
Integer.valueOf(System.getProperty("org.apache.coyote.http11.Http11Protocol.MAX_KEEP_ALIVE_REQUESTS",
"-1")).intValue();
public int getMaxKeepAliveRequests() { return maxKeepAliveRequests; }
public void setMaxKeepAliveRequests(int mkar) { maxKeepAliveRequests = mkar; }
Modified: trunk/java/org/apache/coyote/http11/Http11Protocol.java
===================================================================
--- trunk/java/org/apache/coyote/http11/Http11Protocol.java 2011-12-07 16:23:26 UTC (rev
1884)
+++ trunk/java/org/apache/coyote/http11/Http11Protocol.java 2011-12-07 16:23:56 UTC (rev
1885)
@@ -336,7 +336,7 @@
* connection. The default is the same as for Apache HTTP Server.
*/
protected int maxKeepAliveRequests = (org.apache.tomcat.util.Constants.LOW_MEMORY) ?
1 :
-
Integer.valueOf(System.getProperty("org.apache.coyote.http11.Http11Protocol.MAX_KEEP_ALIVE_REQUESTS",
"100")).intValue();
+
Integer.valueOf(System.getProperty("org.apache.coyote.http11.Http11Protocol.MAX_KEEP_ALIVE_REQUESTS",
"-1")).intValue();
public int getMaxKeepAliveRequests() { return maxKeepAliveRequests; }
public void setMaxKeepAliveRequests(int mkar) { maxKeepAliveRequests = mkar; }
Show replies by date