From 407027452c9164d257448cb74abbae395723bdfd Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 17 Aug 2013 22:34:57 +0900 Subject: [PATCH] Update doc --- lib/nghttp2_session.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index edccf6b6..f1cbac35 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -2149,9 +2149,9 @@ int nghttp2_session_on_push_promise_received(nghttp2_session *session, } if(!nghttp2_session_is_new_peer_stream_id (session, frame->push_promise.promised_stream_id)) { - /* The spec says if an endpoint receives a HEADERS with invalid - stream ID, it MUST issue connection error with error code - PROTOCOL_ERROR. It applies to PUSH_PROMISE too. */ + /* The spec says if an endpoint receives a PUSH_PROMISE with + illegal stream ID is subject to a connection error of type + PROTOCOL_ERROR. */ return nghttp2_session_handle_invalid_connection (session, frame, NGHTTP2_PROTOCOL_ERROR); }