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

Unified Diff: net/quic/core/quic_connection.cc

Issue 2449593003: deprecate FLAGS_graceful_emsgsize_on_mtu_probe (Closed)
Patch Set: Updated patchset dependency Created 4 years, 2 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/core/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection.cc
diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
index 47944a2c162d14db1481bcb4b4ac8654e666a63e..6fe21cf33f6a76093dfe9f94f58e0e909d943b1f 100644
--- a/net/quic/core/quic_connection.cc
+++ b/net/quic/core/quic_connection.cc
@@ -1699,8 +1699,7 @@ bool QuicConnection::WritePacket(SerializedPacket* packet) {
if (FLAGS_quic_only_track_sent_packets) {
// In some cases, an MTU probe can cause EMSGSIZE. This indicates that the
// MTU discovery is permanently unsuccessful.
- if (FLAGS_graceful_emsgsize_on_mtu_probe &&
- result.status == WRITE_STATUS_ERROR &&
+ if (result.status == WRITE_STATUS_ERROR &&
result.error_code == kMessageTooBigErrorCode &&
packet->retransmittable_frames.empty() &&
packet->encrypted_length > long_term_mtu_) {
@@ -1769,8 +1768,7 @@ bool QuicConnection::WritePacket(SerializedPacket* packet) {
if (!FLAGS_quic_only_track_sent_packets) {
// In some cases, an MTU probe can cause EMSGSIZE. This indicates that the
// MTU discovery is permanently unsuccessful.
- if (FLAGS_graceful_emsgsize_on_mtu_probe &&
- result.status == WRITE_STATUS_ERROR &&
+ if (result.status == WRITE_STATUS_ERROR &&
result.error_code == kMessageTooBigErrorCode &&
packet->retransmittable_frames.empty() &&
packet->encrypted_length > long_term_mtu_) {
« no previous file with comments | « no previous file | net/quic/core/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698