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

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

Issue 2249783002: [m53 merge] Use LeastUnacked to calculate the packet number length instead of GetLeastPacketAwaited… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
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/quic_flags.h ('k') | net/quic/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/quic_flags.h" 5 #include "net/quic/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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 bool FLAGS_quic_ignore_zero_length_frames = true; 131 bool FLAGS_quic_ignore_zero_length_frames = true;
132 132
133 // If true, replace ServerHelloNotifier with a check to see if a decrypted 133 // If true, replace ServerHelloNotifier with a check to see if a decrypted
134 // packet is forward secure. 134 // packet is forward secure.
135 bool FLAGS_quic_no_shlo_listener = true; 135 bool FLAGS_quic_no_shlo_listener = true;
136 136
137 // If true, queued retransmission packets, because of write blocked 137 // If true, queued retransmission packets, because of write blocked
138 // socket, are always sent once the socket gets unblocked 138 // socket, are always sent once the socket gets unblocked
139 bool FLAGS_quic_always_write_queued_retransmissions = true; 139 bool FLAGS_quic_always_write_queued_retransmissions = true;
140 140
141 // Use GetLeastUnacked when updating the packet number length, instead of
142 // GetLeastPacketAwaitedByPeer.
143 bool FLAGS_quic_least_unacked_packet_number_length = true;
144
141 // Adds a RATE connection option to do rate based sending. 145 // Adds a RATE connection option to do rate based sending.
142 bool FLAGS_quic_rate_based_sending = true; 146 bool FLAGS_quic_rate_based_sending = true;
143 147
144 // If true, QUIC will use cheap stateless rejects without creating a full 148 // If true, QUIC will use cheap stateless rejects without creating a full
145 // connection. 149 // connection.
146 bool FLAGS_quic_use_cheap_stateless_rejects = false; 150 bool FLAGS_quic_use_cheap_stateless_rejects = false;
147 151
148 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather 152 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather
149 // than QuicTimes. 153 // than QuicTimes.
150 bool FLAGS_quic_socket_walltimestamps = false; 154 bool FLAGS_quic_socket_walltimestamps = false;
(...skipping 12 matching lines...) Expand all
163 167
164 // Do not use a QuicAckListener in order to confirm a larger Path MTU. 168 // Do not use a QuicAckListener in order to confirm a larger Path MTU.
165 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; 169 bool FLAGS_quic_no_mtu_discovery_ack_listener = false;
166 170
167 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no 171 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no
168 // longer necessary. 172 // longer necessary.
169 bool FLAGS_quic_simple_packet_number_length = false; 173 bool FLAGS_quic_simple_packet_number_length = false;
170 174
171 // If true, enables QUIC_VERSION_35. 175 // If true, enables QUIC_VERSION_35.
172 bool FLAGS_quic_enable_version_35 = false; 176 bool FLAGS_quic_enable_version_35 = false;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698