From aa1299912d39a9752217e57560a3076d4999df2d Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Wed, 7 Oct 2020 16:32:06 +1100 Subject: [PATCH] Issue #5368 - when resuming always call onFillable from newThread. Signed-off-by: Lachlan Roberts --- .../jetty/websocket/common/io/AbstractWebSocketConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/io/AbstractWebSocketConnection.java b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/io/AbstractWebSocketConnection.java index 11583bd58a0..1e3c98b6353 100644 --- a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/io/AbstractWebSocketConnection.java +++ b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/io/AbstractWebSocketConnection.java @@ -521,7 +521,7 @@ public abstract class AbstractWebSocketConnection extends AbstractConnection imp { ByteBuffer resume = readState.resume(); if (resume != null) - onFillable(resume); + getExecutor().execute(() -> onFillable(resume)); } @Override