Commit 19146211 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Update doc

parent 9f008330
...@@ -3437,7 +3437,7 @@ int nghttp2_session_on_request_headers_received(nghttp2_session *session, ...@@ -3437,7 +3437,7 @@ int nghttp2_session_on_request_headers_received(nghttp2_session *session,
PROTOCOL_ERROR. But we could get trailer HEADERS after we have PROTOCOL_ERROR. But we could get trailer HEADERS after we have
sent RST_STREAM to this stream and peer have not received it. sent RST_STREAM to this stream and peer have not received it.
Then connection error is too harsh. It means that we only use Then connection error is too harsh. It means that we only use
connection error if stream ID refers idle stream. OTherwise we connection error if stream ID refers idle stream. Therwise we
just ignore HEADERS for now. */ just ignore HEADERS for now. */
if (frame->hd.stream_id == 0 || if (frame->hd.stream_id == 0 ||
nghttp2_session_is_my_stream_id(session, frame->hd.stream_id)) { nghttp2_session_is_my_stream_id(session, frame->hd.stream_id)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment