| Index: net/quic/quic_connection.cc
|
| diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
|
| index 8e364e1fdfd5f2b803d3fd3dfe18162aa47a9aca..17d2442408a986f7fbaaf076742224f9ae991570 100644
|
| --- a/net/quic/quic_connection.cc
|
| +++ b/net/quic/quic_connection.cc
|
| @@ -1737,6 +1737,13 @@ bool QuicConnection::ShouldDiscardPacket(const SerializedPacket& packet) {
|
| return true;
|
| }
|
|
|
| + // TODO(fayang): Remove IsUnacked and HasRetransmittableFrames from
|
| + // QuicSentPacketManagerInterface when deprecating
|
| + // gfe2_reloadable_flag_quic_always_write_queued_retransmissions.
|
| + if (FLAGS_quic_always_write_queued_retransmissions) {
|
| + return false;
|
| + }
|
| +
|
| // If a retransmission has been acked before sending, don't send it.
|
| // This occurs if a packet gets serialized, queued, then discarded.
|
| if (packet.transmission_type != NOT_RETRANSMISSION &&
|
|
|