Just assign stream->cycle to descendant_last_cycle
This commit is contained in:
parent
d22573086f
commit
991352d201
|
@ -205,8 +205,7 @@ void nghttp2_stream_reschedule(nghttp2_stream *stream) {
|
||||||
dep_stream->descendant_last_cycle = 0;
|
dep_stream->descendant_last_cycle = 0;
|
||||||
stream->cycle = 0;
|
stream->cycle = 0;
|
||||||
} else {
|
} else {
|
||||||
dep_stream->descendant_last_cycle =
|
dep_stream->descendant_last_cycle = stream->cycle;
|
||||||
nghttp2_max(dep_stream->descendant_last_cycle, stream->cycle);
|
|
||||||
|
|
||||||
stream->cycle =
|
stream->cycle =
|
||||||
stream_next_cycle(stream, dep_stream->descendant_last_cycle);
|
stream_next_cycle(stream, dep_stream->descendant_last_cycle);
|
||||||
|
|
Loading…
Reference in New Issue