- Fix issue #94

- Fix linter
- Remove useless code/deadcode
This commit is contained in:
Nicolas JUHEL
2021-04-13 13:08:49 +02:00
parent 499b5ee613
commit dbb443eb65
48 changed files with 673 additions and 1418 deletions

View File

@@ -64,7 +64,8 @@ func GetClientTimeout(serverName string, http2Tr bool, GlobalTimeout time.Durati
Proxy: http.ProxyFromEnvironment,
DialContext: dl.DialContext,
DisableCompression: true,
TLSClientConfig: certificates.GetTLSConfig(serverName),
//nolint #staticcheck
TLSClientConfig: certificates.GetTLSConfig(serverName),
}
return getclient(tr, http2Tr, GlobalTimeout)