Ignore priority request if resultant tree has cycle
This commit is contained in:
parent
21d5986157
commit
d3962becf4
|
@ -537,9 +537,7 @@ int nghttp2_session_reprioritize_stream
|
||||||
"stream(%p)=%d\n",
|
"stream(%p)=%d\n",
|
||||||
dep_stream, dep_stream->stream_id,
|
dep_stream, dep_stream->stream_id,
|
||||||
stream, stream->stream_id));
|
stream, stream->stream_id));
|
||||||
|
return 0;
|
||||||
return nghttp2_session_terminate_session(session,
|
|
||||||
NGHTTP2_PROTOCOL_ERROR);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nghttp2_stream_dep_remove_subtree(stream);
|
nghttp2_stream_dep_remove_subtree(stream);
|
||||||
|
|
Loading…
Reference in New Issue