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