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:
parent
8a8ea3c539
commit
754609bcb1
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user