mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
tls: added new param alpn
This commit is contained in:
1 parent
8b29af3c0c
commit
c055c33143
7 files changed
+26
-23
No files matched your search
@@ -31,7 +31,6 @@ func NewWSSDialer(s string, d proxy.Dialer) (proxy.Dialer, error) {
|
||||
w.tlsConfig = &tls.Config{
|
||||
ServerName: w.serverName,
|
||||
InsecureSkipVerify: w.skipVerify,
|
||||
NextProtos: []string{"http/1.1"},
|
||||
MinVersion: tls.VersionTLS12,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user