Skip to content

Commit

Permalink
Update request.go
Browse files Browse the repository at this point in the history
  • Loading branch information
shijl0925 authored Sep 11, 2024
1 parent 69ab4ad commit 6cbcf78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var transport = &http.Transport{
MaxIdleConns: 100, // 调整为100以允许更多的连接复用
IdleConnTimeout: 60 * time.Second,
TLSHandshakeTimeout: 15 * time.Second,
TLSClientConfig: &tls.Config{InsecureSkipVerify: false},
TLSClientConfig: &tls.Config{MinVersion: tls.VersionTLS10, InsecureSkipVerify: false},
}

// DefaultClient is the default http client for got requests.
Expand Down

0 comments on commit 6cbcf78

Please sign in to comment.