mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-14 13:04:10 +08:00
restore former udp timeout
This commit is contained in:
@@ -80,7 +80,7 @@ func init() {
|
|||||||
|
|
||||||
// Proxy
|
// Proxy
|
||||||
args.ProxyServer = flag.String("proxyServer", "", "Proxy server address")
|
args.ProxyServer = flag.String("proxyServer", "", "Proxy server address")
|
||||||
args.UdpTimeout = flag.Duration("udpTimeout", 30*time.Second, "UDP session timeout")
|
args.UdpTimeout = flag.Duration("udpTimeout", 60*time.Second, "UDP session timeout")
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Reference in New Issue
Block a user