| 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_) {
|
|
|