gfe-relnote: In QUIC, use QuicNetworkBlackholeDetector which detects both path degrading and network blackhole. Protected by gfe2_reloadable_flag_quic_use_blackhole_detector.
Path degrading is only armed after handshake completes. And blackhole detection now is based on time rather than event driven (i.e., 5RTO, 6PTO, etc)
PiperOrigin-RevId: 302526709
Change-Id: I43e776e18979d4f8ce4f26708107b4ef9356aa1a
diff --git a/quic/test_tools/quic_config_peer.cc b/quic/test_tools/quic_config_peer.cc
index 41527c2..20463ab 100644
--- a/quic/test_tools/quic_config_peer.cc
+++ b/quic/test_tools/quic_config_peer.cc
@@ -97,5 +97,14 @@
config->max_packet_size_.SetReceivedValue(max_packet_size);
}
+// static
+void QuicConfigPeer::ReceiveIdleNetworkTimeout(QuicConfig* config,
+ HelloType hello_type,
+ uint32_t idle_timeout_seconds) {
+ std::string error_details;
+ config->idle_network_timeout_seconds_.ReceiveValue(
+ idle_timeout_seconds, hello_type, &error_details);
+}
+
} // namespace test
} // namespace quic