gfe-relnote: Add a ScopedPacketFlusher when the undecryptable packets alarm fire in case any packets are queued in the generator. PiperOrigin-RevId: 239857802 Change-Id: Ie5d2db4a420a8a2f94bd4949fe4964c684f9d23f
diff --git a/quic/core/quic_connection.cc b/quic/core/quic_connection.cc index 2c7df67..24cbb6d 100644 --- a/quic/core/quic_connection.cc +++ b/quic/core/quic_connection.cc
@@ -201,7 +201,11 @@ ProcessUndecryptablePacketsAlarmDelegate& operator=( const ProcessUndecryptablePacketsAlarmDelegate&) = delete; - void OnAlarm() override { connection_->MaybeProcessUndecryptablePackets(); } + void OnAlarm() override { + QuicConnection::ScopedPacketFlusher flusher(connection_, + QuicConnection::NO_ACK); + connection_->MaybeProcessUndecryptablePackets(); + } private: QuicConnection* connection_;