Index: net/quic/quic_stream_factory.h |
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h |
index a56a70eaadb586729dab4acc567b7cfbb1843a0c..a03edf3a5dbc39442faf4ba95ec5e5530de549e3 100644 |
--- a/net/quic/quic_stream_factory.h |
+++ b/net/quic/quic_stream_factory.h |
@@ -155,6 +155,7 @@ |
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, |
@@ -320,6 +321,8 @@ |
} |
int socket_receive_buffer_size() const { return socket_receive_buffer_size_; } |
+ |
+ bool delay_tcp_race() const { return delay_tcp_race_; } |
private: |
class Job; |
@@ -513,6 +516,9 @@ |
// 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(). |