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

Unified Diff: net/quic/chromium/quic_stream_factory.cc

Issue 2270583002: QUIC: Add packet_reader_yield_after_duration_milliseconds field trial param. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new_master
Patch Set: Created 4 years, 4 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/chromium/quic_stream_factory.cc
diff --git a/net/quic/chromium/quic_stream_factory.cc b/net/quic/chromium/quic_stream_factory.cc
index c1711985e4887f72c074fed495d30288e0ef9c06..532a77f4c3350660b8496138926b910313abc13b 100644
--- a/net/quic/chromium/quic_stream_factory.cc
+++ b/net/quic/chromium/quic_stream_factory.cc
@@ -736,6 +736,7 @@ QuicStreamFactory::QuicStreamFactory(
bool close_sessions_on_ip_change,
bool disable_quic_on_timeout_with_open_streams,
int idle_connection_timeout_seconds,
+ int packet_reader_yield_after_duration_milliseconds,
bool migrate_sessions_on_network_change,
bool migrate_sessions_early,
bool allow_server_migration,
@@ -788,7 +789,7 @@ QuicStreamFactory::QuicStreamFactory(
delay_tcp_race_(delay_tcp_race),
yield_after_packets_(kQuicYieldAfterPacketsRead),
yield_after_duration_(QuicTime::Delta::FromMilliseconds(
- kQuicYieldAfterDurationMilliseconds)),
+ packet_reader_yield_after_duration_milliseconds)),
close_sessions_on_ip_change_(close_sessions_on_ip_change),
migrate_sessions_on_network_change_(
migrate_sessions_on_network_change &&

Powered by Google App Engine
This is Rietveld 408576698