gfe-relnote: In QUIC batch writers, always drop buffered packets on write errors. Protected by --gfe2_restart_flag_quic_batch_writer_always_drop_packets_on_error.
Currently, GfeQuicGsoBatchWriter and GfeQuicSendmmsgBatchWriter drops buffered packets when their WritePacket fails, this change moves this functionality to QuicBatchWriterBase::InternalWritePacket which is used by both writers. This change also adds the functionality to QuicBatchWriterBase::Flush to drop packets on flush errors.
PiperOrigin-RevId: 299998487
Change-Id: I3976801ca6bc8a84cb5b17f4780bd7e79f531bb8
2 files changed