Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/3.0.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrix-X committed Feb 19, 2024
2 parents d6a291d + 599cff2 commit 217a373
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion http/drivers/http/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ func NewHttpClient(config *contract.ClientConfig) (*Client, error) {
Certificates: []tls.Certificate{certPair},
}, Proxy: proxy}
} else if proxy != nil {
coreClient.Transport = &http.Transport{Proxy: proxy}
coreClient.Transport = &http.Transport{TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
}, Proxy: proxy}
}
return &Client{
conf: config,
Expand Down

0 comments on commit 217a373

Please sign in to comment.