Commit 2f18ba79 authored by Ryan Hamilton's avatar Ryan Hamilton Committed by Commit Bot

Enable FLAGS_quic_register_streams_early2, and fix QuicChromiumClientSession

to avoid unregistering static streams with the priority dependency state.

Change-Id: I5dcbfdc3bf08c4b3d18b334c650fe267580f4221
Reviewed-on: https://chromium-review.googlesource.com/1008176Reviewed-by: default avatarZhongyi Shi <zhongyi@chromium.org>
Commit-Queue: Ryan Hamilton <rch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550095}
parent 9556845a
......@@ -930,7 +930,7 @@ void QuicChromiumClientSession::OnHeadersHeadOfLineBlocking(
void QuicChromiumClientSession::UnregisterStreamPriority(QuicStreamId id,
bool is_static) {
if (headers_include_h2_stream_dependency_) {
if (headers_include_h2_stream_dependency_ && !is_static) {
priority_dependency_state_.OnStreamDestruction(id);
}
QuicSpdySession::UnregisterStreamPriority(id, is_static);
......
......@@ -173,7 +173,7 @@ QUIC_FLAG(
// If true, QUIC streams are registered in the QuicStream constructor instead
// of in the QuicSpdyStream constructor.
QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_register_streams_early2, false)
QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_register_streams_early2, true)
// If this flag and
// FLAGS_quic_reloadable_flag_quic_fix_write_out_of_order_queued_packet_crash
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment