Fixes #1687 - Missing callback notification when channel not found.
This commit is contained in:
parent
95bf957b4f
commit
f04f486f94
|
@ -18,7 +18,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 +177,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)
|
||||
|
|
Loading…
Reference in New Issue