aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http2.c')
-rw-r--r--lib/http2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 931824295..a56535471 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -235,6 +235,9 @@ static int on_frame_recv(nghttp2_session *session, const nghttp2_frame *frame,
}
stream = data_s->req.protop;
}
+ else
+ /* we do nothing on stream zero */
+ return 0;
switch(frame->hd.type) {
case NGHTTP2_DATA: