From 3b9fb72ce3e23f262731292ce80b2736787536cf Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Thu, 5 Oct 2017 17:19:53 +0800 Subject: [PATCH] set dialer timeout to 15 seconds --- obfssh/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obfssh/ssh.go b/obfssh/ssh.go index b9db9be..dfcc598 100644 --- a/obfssh/ssh.go +++ b/obfssh/ssh.go @@ -17,7 +17,7 @@ import ( "time" ) -var dialer = &net.Dialer{Timeout: 10 * time.Second} +var dialer = &net.Dialer{Timeout: 15 * time.Second} func main() { var configfile string