Complete Jetty frame callback when opcode is not PONG

The onWebSocketFrame method should complete callback.
For more details, see https://github.com/jetty/jetty.project/issues/11088.

Closes gh-31869
This commit is contained in:
Baoyi Chen 2023-12-20 18:20:45 +08:00 committed by Sébastien Deleuze
parent 3ed5a90b7c
commit e00a882333
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,9 @@ public class JettyWebSocketHandlerAdapter {
ExceptionWebSocketHandlerDecorator.tryCloseWithError(this.wsSession, ex, logger);
}
}
else {
callback.succeed();
}
}
private static ByteBuffer copyByteBuffer(ByteBuffer src) {