Fixes #1687 - Missing callback notification when channel not found.

This commit is contained in:
Simone Bordet 2017-07-24 11:35:41 +02:00 committed by Joakim Erdfelt
parent 95bf957b4f
commit f04f486f94
1 changed files with 5 additions and 1 deletions

View File

@ -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)