Disable server blackhole detection. protected by gfe2_reloadable_flag_quic_disable_server_blackhole_detection. PiperOrigin-RevId: 322223040 Change-Id: Id4342ce0a87dc521619558599f8a87fcebea47db
diff --git a/quic/core/quic_connection.cc b/quic/core/quic_connection.cc index eac8f5e..21c9e66 100644 --- a/quic/core/quic_connection.cc +++ b/quic/core/quic_connection.cc
@@ -341,6 +341,11 @@ } if (default_enable_5rto_blackhole_detection_) { num_rtos_for_blackhole_detection_ = 5; + if (GetQuicReloadableFlag(quic_disable_server_blackhole_detection) && + perspective_ == Perspective::IS_SERVER) { + QUIC_RELOADABLE_FLAG_COUNT(quic_disable_server_blackhole_detection); + blackhole_detection_disabled_ = true; + } } }