Commit 3826b3a1 authored by jan.koester's avatar jan.koester
Browse files

comment

parent 39a2cd8e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -419,6 +419,14 @@ ssize_t quic::flushBatch() {

// ============================================================================
// Batched processing of 1-RTT packets
//
// "Batched" here means ACK coalescing only: one ACK is sent after the whole
// batch instead of one per packet (a measured ~30x reduction in ACK-only
// sendto() calls under load — see pumpIncoming()'s comment). Each packet's
// AEAD decrypt/header-protection/frame processing below still runs one at a
// time in the loop; there is no cross-packet crypto batching (each packet
// number requires its own AEAD nonce, so that work is not shareable across
// packets the way the ACK is).
// ============================================================================

void quic::processApplicationPacketsBatch(