I would like to know what the relationship between the connectionTimeout and keepAliveTimeout properties of the tomcat connectors is. Should they be set to the same value (as it's the default)?
What is the effect of keepAliveTimeout being less than the connectionTimeout?
Thanks
connectionTimeout
defines how long Tomcat will wait for a client request after client connected.
keepAliveTimeout
is how long Tomcat will wait for another request before closing the connection
In other words, connectionTimeout is how long Tomcat will wait for the first HTTP request to be sent after TCP connection was established, keepAliveTimeout is how long it will wait for another request to be sent over the same connection
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With