diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketHandlerAdapter.java b/spring-websocket/src/main/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketHandlerAdapter.java index 5254abc47259..cb4b40eef4cf 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketHandlerAdapter.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketHandlerAdapter.java @@ -114,6 +114,8 @@ public void onWebSocketFrame(Frame frame, Callback callback) { callback.fail(ex); ExceptionWebSocketHandlerDecorator.tryCloseWithError(this.wsSession, ex, logger); } + } else { + callback.succeed(); } }