Fix crash caused by the regression in 9f8fc7b2bb
This commit is contained in:
parent
9f8fc7b2bb
commit
80f7abb565
|
@ -3725,10 +3725,10 @@ int nghttp2_session_on_rst_stream_received(nghttp2_session *session,
|
||||||
return session_handle_invalid_connection(
|
return session_handle_invalid_connection(
|
||||||
session, frame, NGHTTP2_ERR_PROTO, "RST_STREAM: stream in idle");
|
session, frame, NGHTTP2_ERR_PROTO, "RST_STREAM: stream in idle");
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
|
||||||
/* We may use stream->shut_flags for strict error checking. */
|
/* We may use stream->shut_flags for strict error checking. */
|
||||||
nghttp2_stream_shutdown(stream, NGHTTP2_SHUT_RD);
|
nghttp2_stream_shutdown(stream, NGHTTP2_SHUT_RD);
|
||||||
|
}
|
||||||
|
|
||||||
rv = session_call_on_frame_received(session, frame);
|
rv = session_call_on_frame_received(session, frame);
|
||||||
if (rv != 0) {
|
if (rv != 0) {
|
||||||
|
|
Loading…
Reference in New Issue