diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnection.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnection.java index a1f9ed0d394..e3092db044d 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnection.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnection.java @@ -19,6 +19,7 @@ package org.eclipse.jetty.http2.server; import java.io.Closeable; +import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayDeque; import java.util.ArrayList; @@ -177,6 +178,10 @@ public class HTTP2ServerConnection extends HTTP2Connection implements Connection if (task != null) offerTask(task, false); } + else + { + callback.failed(new IOException("channel_not_found")); + } } public void onTrailers(IStream stream, HeadersFrame frame)