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

Unified Diff: net/quic/quic_connection.cc

Issue 1786493003: Add a QUIC ScopedPacketBundler to send an ack when the ack alarm goes off. No functional change. … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116389752
Patch Set: Created 4 years, 9 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 407a163c1ac38e8edc53bf0b8d9838a809cd6afa..1fd4e37258ef2854d887d88a050fa1576edbfe18 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -88,7 +88,8 @@ class AckAlarm : public QuicAlarm::Delegate {
void OnAlarm() override {
DCHECK(connection_->ack_frame_updated());
- connection_->SendAck();
+ QuicConnection::ScopedPacketBundler bundler(connection_,
+ QuicConnection::SEND_ACK);
}
private:
« 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