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

Unified Diff: net/quic/quic_stream_factory.h

Issue 1977303002: Revert of QUIC - enable "delay_tcp_race" parameter by default. This feature showed (patchset #3 id:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_network_transaction_unittest.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index d1aab0136bda21c8959cdbef6db83edc6e186b78..542687f5e5f4203b5c30a3899ae662191afe346f 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -178,6 +178,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
int threshold_timeouts_with_streams_open,
int threshold_public_resets_post_handshake,
int socket_receive_buffer_size,
+ bool delay_tcp_race,
int max_server_configs_stored_in_properties,
bool close_sessions_on_ip_change,
bool disable_quic_on_timeout_with_open_streams,
@@ -345,6 +346,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
int socket_receive_buffer_size() const { return socket_receive_buffer_size_; }
+ bool delay_tcp_race() const { return delay_tcp_race_; }
+
private:
class Job;
friend class test::QuicStreamFactoryPeer;
@@ -535,6 +538,9 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// Size of the UDP receive buffer.
int socket_receive_buffer_size_;
+ // Set if we do want to delay TCP connection when it is racing with QUIC.
+ bool delay_tcp_race_;
+
// If more than |yield_after_packets_| packets have been read or more than
// |yield_after_duration_| time has passed, then
// QuicChromiumPacketReader::StartReading() yields by doing a PostTask().
« no previous file with comments | « net/quic/quic_network_transaction_unittest.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698