From 06103d85d246cac31fc114886194d2a5b750e57d Mon Sep 17 00:00:00 2001 From: Adam Fisk Date: Wed, 6 Nov 2024 13:33:57 -0700 Subject: [PATCH] lowered dial timeout to connect quicker --- masquerade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masquerade.go b/masquerade.go index 9dcdd52..0f8dce7 100644 --- a/masquerade.go +++ b/masquerade.go @@ -89,7 +89,7 @@ func (m *masquerade) dial(rootCAs *x509.CertPool, clientHelloID tls.ClientHelloI ServerName: m.Domain, RootCAs: rootCAs, } - dialTimeout := 10 * time.Second + dialTimeout := 5 * time.Second addr := m.IpAddress var sendServerNameExtension bool if m.SNI != "" {