fix UDP proxy failed

This commit is contained in:
Jason
2019-08-14 13:54:35 +08:00
parent fa311d6599
commit 5c8160ab42
3 changed files with 20 additions and 15 deletions

View File

@@ -80,7 +80,7 @@ func init() {
// Proxy
args.ProxyServer = flag.String("proxyServer", "", "Proxy server address")
args.UdpTimeout = flag.Duration("udpTimeout", 60*time.Second, "UDP session timeout")
args.UdpTimeout = flag.Duration("udpTimeout", 30*time.Second, "UDP session timeout")
}
func main() {