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

Unified Diff: net/quic/quic_connection_test.cc

Issue 461183002: Change QUIC's delayed ack timer from 100ms to 25ms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_changes_0808
Patch Set: Created 6 years, 4 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/quic_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_test.cc
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc
index 7faafe7a844ba689c1f2664b62b5839494aaaaec..932d2b2de64444569fde93b44bc70913661576b8 100644
--- a/net/quic/quic_connection_test.cc
+++ b/net/quic/quic_connection_test.cc
@@ -57,7 +57,6 @@ const bool kEntropyFlag = true;
const QuicPacketEntropyHash kTestEntropyHash = 76;
const int kDefaultRetransmissionTimeMs = 500;
-const int kMinRetransmissionTimeMs = 200;
class TestReceiveAlgorithm : public ReceiveAlgorithmInterface {
public:
@@ -885,7 +884,7 @@ class QuicConnectionTest : public ::testing::TestWithParam<QuicVersion> {
}
QuicTime::Delta DefaultDelayedAckTime() {
- return QuicTime::Delta::FromMilliseconds(kMinRetransmissionTimeMs/2);
+ return QuicTime::Delta::FromMilliseconds(kMaxDelayedAckTime);
ramant (doing other things) 2014/08/12 21:22:15 hi jri, Used kMaxDelayedAckTime instead of hard
Jana 2014/08/13 01:28:38 Sure, that sounds fine.
ramant (doing other things) 2014/08/14 19:59:30 Acknowledged.
}
// Initialize a frame acknowledging all packets up to largest_observed.
« no previous file with comments | « no previous file | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698