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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_flags.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_flags.cc
diff --git a/net/quic/quic_flags.cc b/net/quic/quic_flags.cc
index b34825d0ae02316ed124c2f84280b652218122de..9fd8f3f6672e62c04f0662c80ce6a73ba6ae11f3 100644
--- a/net/quic/quic_flags.cc
+++ b/net/quic/quic_flags.cc
@@ -126,3 +126,7 @@ bool FLAGS_quic_ack_decimation2 = true;
// If true, QUIC connections will defer responding to ACKs to their send alarms.
bool FLAGS_quic_connection_defer_ack_response = true;
+
+// If true, calls to QuicAlarm::Cancel don't do anything if the alarm is not
+// set.
+bool FLAGS_quic_only_cancel_set_alarms = true;
« 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