client: do not use InsecureSkipVerify by default

This commit is contained in:
aler9
2021-12-03 23:11:49 +01:00
parent 73f1c632c5
commit 9c3ee269f2
3 changed files with 15 additions and 7 deletions

View File

@@ -395,6 +395,9 @@ func TestClientRead(t *testing.T) {
counter := 0
c := &Client{
TLSConfig: &tls.Config{
InsecureSkipVerify: true,
},
Transport: func() *Transport {
switch transport {
case "udp":