-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Manage Tomcat queued connections #6571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@herau Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@herau Thank you for signing the Contributor License Agreement! |
6b35e3a
to
5f38ed3
Compare
Adding two tomcat server properties: - server.tomcat.accept-count - server.tomcat.max-connections Fixes spring-projectsgh-6433
Thanks. I'll target this to 1.5. We should also look to see if Jetty/Undertow have similar options that mean this could be a top level property. |
Ok i will check it. |
@philwebb
and a
Jetty has an
But i don't find any option for the limitation of connections number :-( maybe it's already available with Undertow provide a RequestLimitingHandler which allow to define the So you could use a generic option to set the max number of requests to queue with a key like |
@herau Thanks for the detailed analysis. It looks like the different implementations are probably different enough that a uniform property isn't the best approach after all. We're just merge your PR as it is and keep it Tomcat specific. Thanks! |
* pr/6571: Polish contribution Manage Tomcat queued connections
Adding two tomcat server properties:
Fixes #6433