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

Unified Diff: net/quic/congestion_control/tcp_loss_algorithm.h

Issue 687083002: Gathering ClientConnectionStats at suitable times (near the end of (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Deprecate_close_quic_connection_unfinished_streams_2_78683497
Patch Set: fix compile error Created 6 years, 2 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
« no previous file with comments | « no previous file | net/quic/congestion_control/tcp_loss_algorithm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/tcp_loss_algorithm.h
diff --git a/net/quic/congestion_control/tcp_loss_algorithm.h b/net/quic/congestion_control/tcp_loss_algorithm.h
index 0b1c995bcfba3e6036d1edaf8912274177d60cee..03047cf877b99210214099970535885fad569f7a 100644
--- a/net/quic/congestion_control/tcp_loss_algorithm.h
+++ b/net/quic/congestion_control/tcp_loss_algorithm.h
@@ -20,6 +20,9 @@ namespace net {
// been received for a packet. Also implements TCP's early retransmit(RFC5827).
class NET_EXPORT_PRIVATE TCPLossAlgorithm : public LossDetectionInterface {
public:
+ // TCP retransmits after 3 nacks.
+ static const size_t kNumberOfNacksBeforeRetransmission = 3;
+
TCPLossAlgorithm();
~TCPLossAlgorithm() override {}
« no previous file with comments | « no previous file | net/quic/congestion_control/tcp_loss_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698