mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-16 13:50:57 +08:00
adjust: udpBufferSize
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
|
||||
const (
|
||||
udpTimeout = 30 * time.Second
|
||||
udpBufferSize = 64 << 10 // KiB
|
||||
udpBufferSize = (1 << 16) - 1 // largest possible UDP datagram
|
||||
)
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user