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

Unified Diff: net/quic/congestion_control/inter_arrival_probe.cc

Issue 126513003: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/congestion_control/inter_arrival_probe.cc
diff --git a/net/quic/congestion_control/inter_arrival_probe.cc b/net/quic/congestion_control/inter_arrival_probe.cc
index 6d3af3208fe1151dbaa691d42d76481b4cbf0cb9..9f4c90cd42cd18b393cfedd14c8fc2ce302fd033 100644
--- a/net/quic/congestion_control/inter_arrival_probe.cc
+++ b/net/quic/congestion_control/inter_arrival_probe.cc
@@ -51,6 +51,12 @@ void InterArrivalProbe::OnAcknowledgedPacket(QuicByteCount bytes) {
}
}
+void InterArrivalProbe::OnRetransmissionTimeout() {
+ if (!estimate_available_) {
+ unacked_data_ = 0;
+ }
+}
+
QuicByteCount InterArrivalProbe::GetAvailableCongestionWindow() {
if (estimate_available_) {
return 0;
« no previous file with comments | « net/quic/congestion_control/inter_arrival_probe.h ('k') | net/quic/congestion_control/inter_arrival_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698