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:
committed by
Sébastien Deleuze
parent
3ed5a90b7c
commit
e00a882333
@@ -115,6 +115,9 @@ public class JettyWebSocketHandlerAdapter {
|
|||||||
ExceptionWebSocketHandlerDecorator.tryCloseWithError(this.wsSession, ex, logger);
|
ExceptionWebSocketHandlerDecorator.tryCloseWithError(this.wsSession, ex, logger);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
callback.succeed();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static ByteBuffer copyByteBuffer(ByteBuffer src) {
|
private static ByteBuffer copyByteBuffer(ByteBuffer src) {
|
||||||
|
|||||||
Reference in New Issue
Block a user