Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2015-12-17 18:04:16 +09:00
parent 15d9f222ed
commit 9cfda0c070
1 changed files with 2 additions and 0 deletions

View File

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