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

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

Issue 1781073002: Only cancel QUIC alarms if they have been set. Protected behind FLAG_quic_only_cancel_set_alarms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116134765
Patch Set: Created 4 years, 9 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') | no next file » | 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 // When true, the use time based loss detection instead of nack. 7 // When true, the use time based loss detection instead of nack.
8 bool FLAGS_quic_use_time_loss_detection = false; 8 bool FLAGS_quic_use_time_loss_detection = false;
9 9
10 // If true, it will return as soon as an error is detected while validating 10 // If true, it will return as soon as an error is detected while validating
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // If true, the QUIC dispatcher will directly send version negotiation packets 120 // If true, the QUIC dispatcher will directly send version negotiation packets
121 // without needing to create a QUIC session first. 121 // without needing to create a QUIC session first.
122 bool FLAGS_quic_stateless_version_negotiation = false; 122 bool FLAGS_quic_stateless_version_negotiation = false;
123 123
124 // QUIC Ack Decimation with tolerance for packet reordering. 124 // QUIC Ack Decimation with tolerance for packet reordering.
125 bool FLAGS_quic_ack_decimation2 = true; 125 bool FLAGS_quic_ack_decimation2 = true;
126 126
127 // If true, QUIC connections will defer responding to ACKs to their send alarms. 127 // If true, QUIC connections will defer responding to ACKs to their send alarms.
128 bool FLAGS_quic_connection_defer_ack_response = true; 128 bool FLAGS_quic_connection_defer_ack_response = true;
129
130 // If true, calls to QuicAlarm::Cancel don't do anything if the alarm is not
131 // set.
132 bool FLAGS_quic_only_cancel_set_alarms = true;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698