In quic, replace close_connection_after_five_rtos_ and max_consecutive_ptos_ with num_rtos_for_blackhole_detection_. refactoring only, not protected.
PiperOrigin-RevId: 314563551
Change-Id: I94912fe45de41259bceb683267aa7ab288e3a31d
diff --git a/quic/core/quic_connection.h b/quic/core/quic_connection.h
index 6782e06..969da12 100644
--- a/quic/core/quic_connection.h
+++ b/quic/core/quic_connection.h
@@ -1420,9 +1420,8 @@
// a connection close packet is sent, but not after.
ConnectionCloseBehavior idle_timeout_connection_close_behavior_;
- // When true, close the QUIC connection after 5 RTOs. Due to the min rto of
- // 200ms, this is over 5 seconds.
- bool close_connection_after_five_rtos_;
+ // When > 0, close the QUIC connection after this number of RTOs.
+ size_t num_rtos_for_blackhole_detection_;
UberReceivedPacketManager uber_received_packet_manager_;
@@ -1640,10 +1639,6 @@
// Indicates whether received RETRY packets should be dropped.
bool drop_incoming_retry_packets_;
- // If max_consecutive_ptos_ > 0, close connection if consecutive PTOs is
- // greater than max_consecutive_ptos.
- size_t max_consecutive_ptos_;
-
// Bytes received before address validation. Only used when
// EnforceAntiAmplificationLimit returns true.
size_t bytes_received_before_address_validation_;