-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Description
Dear Spring Boot maintainers,
I think I found a bug in the JettyWebSocketContainerCustomizer configuration
I wrongly configured jetty.threadPool.maxThreads to a value which is less than optimal which should throw an error and not started the server at all. But Spring Boot ignores the error from Jetty and starts the server.
Then when the request comes , TCP/IP connection succeeds but there is no response.
Initially I thought it is Jetty issue but when I run Jetty separately and configure the same values ./etc/jetty.xml , Jetty fails to start the server
So my conclusion is Spring Boot ignores the underlying Jetty exception and starts the server (which could cause serious consequences if one deploys the code where we don't have any control over number of cores)
More detailed in my original ticket here to Jetty team