From 9cfda0c070b24850aea05b35516d236cb44d5249 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 17 Dec 2015 18:04:16 +0900 Subject: [PATCH] Update doc --- lib/nghttp2_session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 94b18d41..43474b96 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -3633,6 +3633,8 @@ static int session_process_headers_frame(nghttp2_session *session) { return nghttp2_session_on_response_headers_received(session, frame, stream); } + /* This handles the case when server received HEADERS for stream + in reserved stream from client. That is protocol error. */ frame->headers.cat = NGHTTP2_HCAT_HEADERS; return nghttp2_session_on_headers_received(session, frame, stream); }