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

Unified Diff: net/quic/quic_stream_factory.h

Issue 551903002: Adds ability to disable connection pooling in QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added connection pooling tests in quic_stream_factory_test Created 6 years, 3 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 330f5f53ea803fe0966cd55e42db753e5601b53f..c5aa835a4b8869e3bd6303dd652471114aa75968 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -104,6 +104,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
bool enable_port_selection,
bool enable_time_based_loss_detection,
bool always_require_handshake_confirmation,
+ bool disable_connection_pooling,
const QuicTagVector& connection_options);
virtual ~QuicStreamFactory();
@@ -281,6 +282,9 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// introduce at least one RTT for the handshake before the client sends data.
bool always_require_handshake_confirmation_;
+ // Set if we do not want connection pooling.
+ bool disable_connection_pooling_;
+
// 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