diff options
-rw-r--r-- | lib/http2.c | 3 |
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: |