mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
conn: optimize relay operation
This commit is contained in:
1 parent
31f7c50cbc
commit
851fc46104
4 files changed
+76
-10
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user