tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Morgan <>
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
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+



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message