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

Unified Diff: net/quic/quic_connection.cc

Issue 1984243002: Deprecate quic_always_has_unacked_packets_on_timeout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@121961869
Patch Set: Created 4 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 | « no previous file | net/quic/quic_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index c45fb86847542c70e251041fb5c4820a181924ec..66560c6fe416987e6d84f1a9cebb979f7c3cc12e 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1841,13 +1841,7 @@ void QuicConnection::SendAck() {
}
void QuicConnection::OnRetransmissionTimeout() {
- if (FLAGS_quic_always_has_unacked_packets_on_timeout) {
- DCHECK(sent_packet_manager_.HasUnackedPackets());
- } else {
- if (!sent_packet_manager_.HasUnackedPackets()) {
- return;
- }
- }
+ DCHECK(sent_packet_manager_.HasUnackedPackets());
if (close_connection_after_five_rtos_ &&
sent_packet_manager_.consecutive_rto_count() >= 4) {
« no previous file with comments | « no previous file | net/quic/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698