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

Unified Diff: net/quic/quic_session.cc

Issue 1814483002: Change QuicConnection's ScopedPacketBundler to use SEND_QUEUED_ACK instead of NO_ACK, to ensure a q… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116589902
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 | « net/quic/quic_connection.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index 1d880fedd72638d152a88a47aeaf6172a02b96cb..14edd79255a62447b3715ecd424858093e7270f7 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -184,8 +184,8 @@ void QuicSession::OnCanWrite() {
return;
}
- QuicConnection::ScopedPacketBundler ack_bundler(connection_.get(),
- QuicConnection::NO_ACK);
+ QuicConnection::ScopedPacketBundler ack_bundler(
+ connection_.get(), QuicConnection::SEND_ACK_IF_QUEUED);
for (size_t i = 0; i < num_writes; ++i) {
if (!(write_blocked_streams_.HasWriteBlockedCryptoOrHeadersStream() ||
write_blocked_streams_.HasWriteBlockedDataStreams())) {
« no previous file with comments | « net/quic/quic_connection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698