2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-11-09 19:21:52 +08:00

remove support for deprecated tls.VersionSSL30

This commit is contained in:
Lars Lehtonen 2019-11-07 20:07:30 -08:00
parent 8a8ea3c539
commit 754609bcb1
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2

View File

@ -71,7 +71,6 @@ func HTTP1Fast(extMethods ...string) Matcher {
func TLS(versions ...int) Matcher { func TLS(versions ...int) Matcher {
if len(versions) == 0 { if len(versions) == 0 {
versions = []int{ versions = []int{
tls.VersionSSL30,
tls.VersionTLS10, tls.VersionTLS10,
tls.VersionTLS11, tls.VersionTLS11,
tls.VersionTLS12, tls.VersionTLS12,