diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 7c6207d7..38b2878b 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -660,6 +660,8 @@ int nghttp2_session_reprioritize_stream( } } + assert(dep_stream); + if (dep_stream == stream->dep_prev && !pri_spec->exclusive) { /* This is minor optimization when just weight is changed. Currently, we don't reschedule stream in this case, since we