Author: kkolinko
Date: Sat May 12 15:34:31 2012
New Revision: 1337572
URL: http://svn.apache.org/viewvc?rev=1337572&view=rev
Log:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53203
Correct documentation of default value of connectionTimeout for AJP protocol.
See org.apache.coyote.ajp.Constants.DEFAULT_CONNECTION_TIMEOUT
I am not sure though whether -1 is actually infinite and not some other (JVM?
OS?) default.
The timeout is implemented in Endpoint, and thus the implementation is shared
with HTTP protocol, and HTTP connectors documentation already says that -1
means infinite. So it is likely that it is indeed "infinite".
Modified:
tomcat/trunk/webapps/docs/config/ajp.xml
Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=1337572&r1=1337571&r2=1337572&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Sat May 12 15:34:31 2012
@@ -319,7 +319,8 @@
<attribute name="connectionTimeout" required="false">
<p>The number of milliseconds this <strong>Connector</strong> will wait,
after accepting a connection, for the request URI line to be
- presented. The default value is 60000 (i.e. 60 seconds).</p>
+ presented. The default value for AJP protocol connectors
+ is <code>-1</code> (i.e. infinite).</p>
</attribute>
<attribute name="executor" required="false">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]