Loading src/quic.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -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( Loading Loading
src/quic.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -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( Loading