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

Unified Diff: net/quic/quic_connection.cc

Issue 1470713003: Landing Recent QUIC changes until and including Mon Nov 16 14:15:48 2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding NET_EXPORT_PRIVATE to DelegateInterface. Created 5 years, 1 month 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/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index 79d5131aa5ee8eca2253810e31225aebd3e0ed46..8589f201a99314eb2c8a91f90ed7cf923b641848 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -737,6 +737,9 @@ bool QuicConnection::OnAckFrame(const QuicAckFrame& incoming_ack) {
return false;
}
+ if (FLAGS_quic_respect_send_alarm && send_alarm_->IsSet()) {
+ send_alarm_->Cancel();
+ }
ProcessAckFrame(incoming_ack);
if (incoming_ack.is_truncated) {
should_last_packet_instigate_acks_ = true;
@@ -1475,7 +1478,7 @@ bool QuicConnection::CanWrite(HasRetransmittableData retransmittable) {
}
// If the send alarm is set, wait for it to fire.
- if (FLAGS_respect_send_alarm && send_alarm_->IsSet()) {
+ if (FLAGS_quic_respect_send_alarm && send_alarm_->IsSet()) {
return false;
}
@@ -1494,7 +1497,7 @@ bool QuicConnection::CanWrite(HasRetransmittableData retransmittable) {
<< "ms";
return false;
}
- if (!FLAGS_respect_send_alarm) {
+ if (!FLAGS_quic_respect_send_alarm) {
send_alarm_->Cancel();
}
return true;

Powered by Google App Engine
This is Rietveld 408576698