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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 292113002: QUIC - minor clean up of comments per wtc' comments for the CL: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « net/quic/quic_packet_creator.h ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.cc
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
index d92140ad896468c667f54babcb60935482bff69b..f2eb6d3a17b7e1c17d9c74aec2a5825415dbe954 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -173,8 +173,8 @@ void QuicSentPacketManager::HandleAckForSentPackets(
}
if (IsAwaitingPacket(received_info, sequence_number)) {
- // Remove any packets not being tracked by the send algorithm, allowing
- // the high water mark to be raised if necessary.
+ // Remove any rtt only packets less than or equal to the largest observed,
+ // since they will not produce an RTT measurement.
if (QuicUnackedPacketMap::IsForRttOnly(it->second)) {
it = MarkPacketHandled(sequence_number, delta_largest_observed);
} else {
« no previous file with comments | « net/quic/quic_packet_creator.h ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698