mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00: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