Skip to content

Commit 09a5680

Browse files
committed
Revert "Add next protocols in default TLS configuration (#651)"
This reverts commit 0003d27.
1 parent 948b6ca commit 09a5680

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

certs.go

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ var tlsClientSkipVerify = &tls.Config{InsecureSkipVerify: true}
2727

2828
var defaultTLSConfig = &tls.Config{
2929
InsecureSkipVerify: true,
30-
NextProtos: []string{"h2", "http/1.1"},
3130
}
3231

3332
var CA_CERT = []byte(`-----BEGIN CERTIFICATE-----

0 commit comments

Comments
 (0)