ForceTCP only for supported clients (#997)

* ForceTCP only for supported clients

Revert back to standard if forceRelay with TLS fails
Don't force TLS unless it's configured

* fix lint
This commit is contained in:
David Zhao
2022-09-09 18:14:36 -07:00
committed by GitHub
parent 47faedc27a
commit 7e3155dcd6
7 changed files with 150 additions and 21 deletions
+1 -1
View File
@@ -45,6 +45,7 @@ require (
github.com/urfave/negroni v1.0.0
go.uber.org/atomic v1.10.0
go.uber.org/zap v1.23.0
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde
google.golang.org/protobuf v1.28.1
gopkg.in/yaml.v3 v3.0.1
@@ -85,7 +86,6 @@ require (
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
golang.org/x/net v0.0.0-20220728211354-c7608f3a8462 // indirect
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect
golang.org/x/text v0.3.7 // indirect