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++