Skip to content

Commit

Permalink
lowered dial timeout to connect quicker
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Nov 6, 2024
1 parent f26612b commit 06103d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion masquerade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 06103d8

Please sign in to comment.