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

Unified Diff: net/quic/quic_connection.cc

Issue 1233313007: relnote: Fix FLAGS_quic_delay_retransmission_alarm, which was backwards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Initialize_QuicRstStreamFrame_97230073
Patch Set: Created 5 years, 5 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 | no next file » | 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 f43dc457adf8881bbb9db290f594ac0c65d2d173..af418c4f23f297231389c6b42b6f3ad4a946933d 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -2246,7 +2246,7 @@ QuicConnection::ScopedRetransmissionScheduler::ScopedRetransmissionScheduler(
QuicConnection* connection)
: connection_(connection),
already_delayed_(connection_->delay_setting_retransmission_alarm_) {
- if (FLAGS_quic_delay_retransmission_alarm) {
+ if (!FLAGS_quic_delay_retransmission_alarm) {
return;
}
connection_->delay_setting_retransmission_alarm_ = true;
@@ -2254,7 +2254,7 @@ QuicConnection::ScopedRetransmissionScheduler::ScopedRetransmissionScheduler(
QuicConnection::ScopedRetransmissionScheduler::
~ScopedRetransmissionScheduler() {
- if (FLAGS_quic_delay_retransmission_alarm || already_delayed_) {
+ if (!FLAGS_quic_delay_retransmission_alarm || already_delayed_) {
return;
}
connection_->delay_setting_retransmission_alarm_ = false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698