mirror of
https://github.com/kataras/iris.git
synced 2026-01-07 03:57:10 +00:00
set min version on tls configuration even on the tests and examples
This commit is contained in:
@@ -27,8 +27,7 @@ func TestProxy(t *testing.T) {
|
||||
|
||||
config := &tls.Config{
|
||||
InsecureSkipVerify: true,
|
||||
MinVersion: tls.VersionTLS11,
|
||||
MaxVersion: tls.VersionTLS12,
|
||||
MinVersion: tls.VersionTLS13,
|
||||
}
|
||||
proxy := host.NewProxy("", u, config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user