-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Closed as not planned
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another
Description
Affects: 3.2.1
Jetty ConnectionLimit feature is introduced via
server.jetty.max-connections in #35899
However, this ConnectionLimit is not working properly due to problem that introduced in this issue #30565
If Spring Boot decided to give first-class support for this, I think we need to find a proper solution.
As a shortcut from #30565, instead of supported prop, this works like a charm.
@Bean
public JettyServerCustomizer connectorsConnectionLimit() {
return server -> server.addBean(new ConnectionLimit(1, server.getConnectors()));
}
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another