mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-22 00:09:23 +08:00
Feature: add udp-rlybuf option
* Default UDP relay buffer size: 16KiB
This commit is contained in:
@@ -13,7 +13,8 @@ type Key struct {
|
||||
TCPModerateReceiveBuffer bool `yaml:"tcp-moderate-receive-buffer"`
|
||||
TCPSendBufferSize string `yaml:"tcp-send-buffer-size"`
|
||||
TCPReceiveBufferSize string `yaml:"tcp-receive-buffer-size"`
|
||||
UDPRelayBufferSize string `yaml:"udp-relay-buffer-size"`
|
||||
UDPTimeout time.Duration `yaml:"udp-timeout"`
|
||||
TUNPreUp string `yaml:"tun-pre-up"`
|
||||
TUNPostUp string `yaml:"tun-post-up"`
|
||||
UDPTimeout time.Duration `yaml:"udp-timeout"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user