From 6c76273ef6325d0554e7fab2712a1d784ad7704b Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sun, 14 Jun 2026 14:24:17 +0000 Subject: [PATCH] hotfix(socks5): bump UDP association packet queue channel capacity from 2 to 64 - Fix #3368 --- internal/socks5/udp_router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/socks5/udp_router.go b/internal/socks5/udp_router.go index e4ffef4a..9ce06931 100644 --- a/internal/socks5/udp_router.go +++ b/internal/socks5/udp_router.go @@ -76,7 +76,7 @@ func (r *udpRouter) registerAssociation(controlConn net.Conn, expectedAddrPort n r.mutex.Lock() defer r.mutex.Unlock() - const udpPacketChannelBuffer = 2 + const udpPacketChannelBuffer = 64 associationID := r.nextAssociationID r.nextAssociationID++