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

Unified Diff: net/quic/quic_connection.h

Issue 1806083002: Add a new QUIC connection option, 5RTO, which closes the QUIC connection after 5 consecutive RTOs. … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116677107
Patch Set: Created 4 years, 9 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/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 8de330bb81acd000d8f6f01eaeab2d5e65e81fd7..3d4fa23e87a3b58085d723d5beceb539d4a84aee 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -901,6 +901,10 @@ class NET_EXPORT_PRIVATE QuicConnection
// This is particularly important on mobile, where connections are short.
bool silent_close_enabled_;
+ // 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_;
+
QuicReceivedPacketManager received_packet_manager_;
QuicSentEntropyManager sent_entropy_manager_;

Powered by Google App Engine
This is Rietveld 408576698