Inconsistent stop behavior across various Web Server implementations #44144
Labels
for: team-meeting
An issue we'd like to discuss as a team to make progress
status: waiting-for-triage
An issue we've not yet triaged
Javadoc states:
I reviewed all
WebServer
implementations and identified some inconsistencies among them.In the case of
TomcatWebServer
, it consistently tries toremoveServiceConnectors
, andstop method can be invoked multiple times.
For
NettyWebServer
, if an error occurs, it silently catches the exception withoutthrowing a
WebServerException
. Additionally, subsequent calls tostop()
will have noeffect.
Similarly to Tomcat,
JettyWebServer
attempts to stop its connectors and allows the stopmethod to be invoked multiple times.
In contrast,
UndertowWebServer
makes the second call tostop()
ineffective, preventing any retries to stop theWebServer in case of failure.
The text was updated successfully, but these errors were encountered: