tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Morgan <rmor...@vmware.com>
Subject Change in behavior for Connector maxKeepAliveRequests in 7.0.21+
Date Wed, 16 Nov 2011 23:56:45 GMT

Hey everyone,

As part of the HTTP connector refactoring that occurred in 7.0.21 (see http://svn.apache.org/viewvc?diff_format=h&view=revision&revision=1158367)
the Connector behavior has changed when maxKeepAliveRequests is set to 0.  In Tomcat 7.0.20
and earlier, a setting of 0 would disable keepalives for the connector.  In 7.0.21 an up,
it's enabled and from what I can tell, set to infinite.

Was this change intended?  From looking at the documentation, the updated code is correct
as a value of 0 is not mentioned.  However, this could cause issues for servers that have
maxKeepAliveRequests mis-configured to 0 and upgrade to 7.0.21+

Thoughts?

-Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message