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