Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: net/quic/core/quic_flags.cc

Issue 2237163002: Use LeastUnacked to calculate the packet number length instead of GetLeastPacketAwaitedByPeer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Revert
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_flags.h ('k') | net/quic/core/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/core/quic_flags.h" 5 #include "net/quic/core/quic_flags.h"
6 6
7 // If true, it will return as soon as an error is detected while validating 7 // If true, it will return as soon as an error is detected while validating
8 // CHLO. 8 // CHLO.
9 bool FLAGS_use_early_return_when_verifying_chlo = true; 9 bool FLAGS_use_early_return_when_verifying_chlo = true;
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 bool FLAGS_quic_sequencer_buffer_retire_block_in_time = true; 132 bool FLAGS_quic_sequencer_buffer_retire_block_in_time = true;
133 133
134 // Remove obsolete code to force QUIC to go forward secure, now that the server 134 // Remove obsolete code to force QUIC to go forward secure, now that the server
135 // immediately goes forward secure. 135 // immediately goes forward secure.
136 bool FLAGS_quic_remove_obsolete_forward_secure = false; 136 bool FLAGS_quic_remove_obsolete_forward_secure = false;
137 137
138 // If true, close QUIC connection explicitly on write error due to packet being 138 // If true, close QUIC connection explicitly on write error due to packet being
139 // too large. 139 // too large.
140 bool FLAGS_quic_close_connection_on_packet_too_large = true; 140 bool FLAGS_quic_close_connection_on_packet_too_large = true;
141 141
142 // Use GetLeastUnacked when updating the packet number length, instead of
143 // GetLeastPacketAwaitedByPeer.
144 bool FLAGS_quic_least_unacked_packet_number_length = true;
145
142 // If true, close the write side of a QUIC spdy stream when all queued bytes 146 // If true, close the write side of a QUIC spdy stream when all queued bytes
143 // have been written and a FIN has been sent. 147 // have been written and a FIN has been sent.
144 bool FLAGS_quic_close_stream_after_writing_queued_data = false; 148 bool FLAGS_quic_close_stream_after_writing_queued_data = false;
145 149
146 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of 150 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of
147 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. 151 // gaps in QuicStreamSequenceBuffer exceeds allowed limit.
148 bool FLAGS_quic_limit_frame_gaps_in_buffer = false; 152 bool FLAGS_quic_limit_frame_gaps_in_buffer = false;
149 153
150 // If true, QuicSentPacketManager will use inline pacing functionality instead 154 // If true, QuicSentPacketManager will use inline pacing functionality instead
151 // of wrapping the SendAlgorithm with a PacingSender. 155 // of wrapping the SendAlgorithm with a PacingSender.
152 bool FLAGS_quic_use_inline_pacing = false; 156 bool FLAGS_quic_use_inline_pacing = false;
OLDNEW
« no previous file with comments | « net/quic/core/quic_flags.h ('k') | net/quic/core/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698