Skip to content

Commit 057b48e

Browse files
authored
Add sgignore
1 parent 9f4dea2 commit 057b48e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

APIFiles/HTTPConnection.go

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ type Client struct {
2323

2424
// Init and returns new instance of HTTP client wrapper
2525
func CreateClient(server string, sid string, timeout time.Duration) (*Client, error) {
26+
//sgignore next_line
2627
http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
2728
var netClient = &http.Client{
2829
Timeout: timeout,
@@ -36,6 +37,7 @@ func CreateProxyClient(server string, serverProxy string, sid string, portProxy
3637
http.DefaultTransport = &http.Transport{
3738
Proxy: http.ProxyURL(proxyURL),
3839
TLSNextProto: make(map[string]func(authority string, c *tls.Conn) http.RoundTripper),
40+
//sgignore next_line
3941
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
4042
}
4143
var netClient = &http.Client{

0 commit comments

Comments
 (0)