From f45b3a1bafda192b217cb4b6b1eea8dcca7a147c Mon Sep 17 00:00:00 2001 From: Devin Carr Date: Mon, 13 Oct 2025 17:18:22 -0700 Subject: [PATCH] TUN-9882: Bump datagram v3 write channel capacity Bumping from 16 to 512 gives each flow a bit more buffer if the local OS is having trouble writing to the origin. Closes TUN-9882 --- quic/v3/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quic/v3/session.go b/quic/v3/session.go index 6a9b093f..6d59a59f 100644 --- a/quic/v3/session.go +++ b/quic/v3/session.go @@ -26,7 +26,7 @@ const ( // The maximum amount of datagrams a session will queue up before it begins dropping datagrams. // This channel buffer is small because we assume that the dedicated writer to the origin is typically // fast enought to keep the channel empty. - writeChanCapacity = 16 + writeChanCapacity = 512 logFlowID = "flowID" logPacketSizeKey = "packetSize"