Bug 53203

Summary: Incorrect document of ajp connectionTimeout.
Product: Tomcat 7 Reporter: Tatsuya Bessho <t.bessho0331>
Component: DocumentationAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: patch file

Description Tatsuya Bessho 2012-05-08 01:46:43 UTC
Created attachment 28739 [details]
patch file

The default value of AJP's connectionTimeout in the doc differs from the source code's.

Although the doc says "60000 ms", the source code says "-1".(i.e. no timeout).

I made the patch that corrects "60000 ms" to "no timeout" in the doc.
Comment 1 Konstantin Kolinko 2012-05-12 15:12:18 UTC
I agree.

For reference, the value is

  org.apache.coyote.ajp.Constants.DEFAULT_CONNECTION_TIMEOUT = -1

and it is used in constructor of specific protocol implementation by calling setSoTimeout(Constants.DEFAULT_CONNECTION_TIMEOUT);
Comment 2 Konstantin Kolinko 2012-05-12 15:43:56 UTC
Fixed and will be in 7.0.28.