conn: optimize relay operation

This commit is contained in:
nadoo committed 2020-09-03 00:12:00 +08:00
1 parent 31f7c50cbc
commit 851fc46104
4 files changed
+76 -10

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ func NewTLSServer(s string, p proxy.Proxy) (proxy.Server, error) {
t.tlsConfig = &stdtls.Config{
Certificates: []stdtls.Certificate{cert},
MinVersion: stdtls.VersionTLS10,
MinVersion: stdtls.VersionTLS12,
}
t.server, err = proxy.ServerFromURL(transport[1], p)