From b19dc8aa998d98996bb5cc201a0d191c41fd0729 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Fri, 12 Jan 2024 10:59:36 +0100 Subject: [PATCH] Cosmetics. Signed-off-by: Simone Bordet --- .../src/main/java/org/eclipse/jetty/http3/HTTP3Session.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/jetty-core/jetty-http3/jetty-http3-common/src/main/java/org/eclipse/jetty/http3/HTTP3Session.java b/jetty-core/jetty-http3/jetty-http3-common/src/main/java/org/eclipse/jetty/http3/HTTP3Session.java index 0e630b2f889f..c6b1b9ce506a 100644 --- a/jetty-core/jetty-http3/jetty-http3-common/src/main/java/org/eclipse/jetty/http3/HTTP3Session.java +++ b/jetty-core/jetty-http3/jetty-http3-common/src/main/java/org/eclipse/jetty/http3/HTTP3Session.java @@ -628,13 +628,9 @@ public void inwardClose(long error, String reason) failStreams(stream -> true, error, reason, true, new IOException(reason)); if (goAwayFrame != null) - { writeControlFrame(goAwayFrame, Callback.from(() -> terminateAndDisconnect(error, reason))); - } else - { terminateAndDisconnect(error, reason); - } } private void terminateAndDisconnect(long error, String reason)