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

Unified Diff: net/quic/quic_stream_factory.h

Issue 804813010: QUIC - enabled FLAGS_allow_truncated_connection_ids_for_quic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change the polarity of options to quic_enable_truncated_connection_ids Created 5 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
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index b8623099e4b6f7fb85d317957ed12bf6b8d1dd40..ed5a93074af2cac24bc92bb2a0237568521417f5 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -107,6 +107,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
int load_server_info_timeout,
bool disable_loading_server_info_for_new_servers,
float load_server_info_timeout_srtt_multiplier,
+ bool enable_truncated_connection_ids,
const QuicTagVector& connection_options);
~QuicStreamFactory() override;
@@ -307,6 +308,9 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// want to timeout, set |load_server_info_timeout_srtt_multiplier_| to 0.
float load_server_info_timeout_srtt_multiplier_;
+ // Set this for setting config's BytesForConnectionIdToSend (TCID param) to 0.
+ bool enable_truncated_connection_ids_;
+
// Each profile will (probably) have a unique port_seed_ value. This value is
// used to help seed a pseudo-random number generator (PortSuggester) so that
// we consistently (within this profile) suggest the same ephemeral port when

Powered by Google App Engine
This is Rietveld 408576698