JettyWebSocketFrameHandler
incorrectly relies on autoDemand
when handlers are not registered
#11303
Labels
Milestone
Jetty version(s)
12.0.5
Jetty Environment
All
Description
When
autoDemand
is configured tofalse
,JettyWebSocketFrameHandler
mistakenly relies on it when it should not for the cases where no handler is registered.E.g.: if no
openHandle
is registered, we should always demand no matter what theautoDemand
is configured to. The same is valid for ping frames too.The text was updated successfully, but these errors were encountered: