mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-16 08:24:06 +02:00
hotfix(socks5): bump UDP association packet queue channel capacity from 2 to 64
- Fix #3368
This commit is contained in:
@@ -76,7 +76,7 @@ func (r *udpRouter) registerAssociation(controlConn net.Conn, expectedAddrPort n
|
|||||||
r.mutex.Lock()
|
r.mutex.Lock()
|
||||||
defer r.mutex.Unlock()
|
defer r.mutex.Unlock()
|
||||||
|
|
||||||
const udpPacketChannelBuffer = 2
|
const udpPacketChannelBuffer = 64
|
||||||
associationID := r.nextAssociationID
|
associationID := r.nextAssociationID
|
||||||
r.nextAssociationID++
|
r.nextAssociationID++
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user