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

Unified Diff: net/quic/quic_connection.cc

Issue 1781043004: Remove the force param from QuicPacketGenerator::SetMaxPacketLength because path MTU packets should… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116272960
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 | net/quic/quic_packet_generator.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 c49535589465045af279a804a296b483409bab42..f9cce7e27f88f80a89a164c2db0f5cca3cb7c58f 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1983,8 +1983,7 @@ QuicByteCount QuicConnection::max_packet_length() const {
}
void QuicConnection::SetMaxPacketLength(QuicByteCount length) {
- return packet_generator_.SetMaxPacketLength(LimitMaxPacketSize(length),
- /*force=*/false);
+ return packet_generator_.SetMaxPacketLength(LimitMaxPacketSize(length));
}
bool QuicConnection::HasQueuedData() const {
« no previous file with comments | « no previous file | net/quic/quic_packet_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698