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

Unified Diff: net/quic/quic_packet_generator.cc

Issue 870723002: QUIC - sync'ing with internal source tree changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Fix_bug_in_RTO_83986840
Patch Set: Created 5 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
« no previous file with comments | « no previous file | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_generator.cc
diff --git a/net/quic/quic_packet_generator.cc b/net/quic/quic_packet_generator.cc
index 22bf530d1949058e1c0f536f7177b92ce7a9f711..f71788c48d46f631a4ae4e4bcd8e463d6e180703 100644
--- a/net/quic/quic_packet_generator.cc
+++ b/net/quic/quic_packet_generator.cc
@@ -227,7 +227,7 @@ QuicConsumedData QuicPacketGenerator::ConsumeData(
// Try to close FEC group since we've either run out of data to send or we're
// blocked. If not in batch mode, force close the group.
- MaybeSendFecPacketAndCloseGroup(/*flush=*/false);
+ MaybeSendFecPacketAndCloseGroup(/*force=*/false);
DCHECK(InBatchMode() || !packet_creator_.HasPendingFrames());
return QuicConsumedData(total_bytes_consumed, fin_consumed);
@@ -317,7 +317,7 @@ void QuicPacketGenerator::OnFecTimeout() {
// Flush out any pending frames in the generator and the creator, and then
// send out FEC packet.
SendQueuedFrames(true);
- MaybeSendFecPacketAndCloseGroup(/*flush=*/true);
+ MaybeSendFecPacketAndCloseGroup(/*force=*/true);
}
QuicTime::Delta QuicPacketGenerator::GetFecTimeout(
@@ -407,7 +407,7 @@ void QuicPacketGenerator::SerializeAndSendPacket() {
}
delegate_->OnSerializedPacket(serialized_packet);
- MaybeSendFecPacketAndCloseGroup(/*flush=*/false);
+ MaybeSendFecPacketAndCloseGroup(/*force=*/false);
// The packet has now been serialized, safe to delete pending frames.
pending_ack_frame_.reset();
« no previous file with comments | « no previous file | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698