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

Unified Diff: net/quic/quic_flags.cc

Issue 1665693002: Add FLAGS_quic_crypto_server_config_default_has_chacha20, to allow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113125505
Patch Set: Created 4 years, 11 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 76d69eca77259cc596054cb25dbd69374e88939b..7fc96daabf3aefaa3693379d7215642804ce8fb9 100644
--- a/net/quic/quic_flags.cc
+++ b/net/quic/quic_flags.cc
@@ -164,3 +164,9 @@ bool FLAGS_quic_crypto_proof_use_ref = true;
// If on, max number of incoming and outgoing streams will be different.
// Incoming will be a little higher than outgoing to tolerate race condition.
bool FLAGS_quic_different_max_num_open_streams = true;
+
+// If true, QUIC should correctly report if it supports ChaCha20. Otherwise,
+// QUIC will lie and claim that it does not support ChaCha20. The primary use
+// case for this is places where ChaCha20 is prohibitively expensive compared to
+// AES-GCM.
+bool FLAGS_quic_crypto_server_config_default_has_chacha20 = 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