Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 committed Sep 28, 2023
1 parent c9234d9 commit 6597200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/transports.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func NewProberTransport() http.RoundTripper {
NewH2CTransport())
}

// NewProxyAutoTLSTransport is same with NewProxyAutoTransport but it has tls.Config to create HTTPS request.
// NewProxyAutoTLSTransport is same with NewProxyAutoTransport but it has DialTLSContextFunc to create HTTPS request.
func NewProxyAutoTLSTransport(maxIdle, maxIdlePerHost int, tlsContext DialTLSContextFunc) http.RoundTripper {
return newAutoTransport(
newHTTPSTransport(false /*disable keep-alives*/, true /*disable auto-compression*/, maxIdle, maxIdlePerHost, tlsContext),
Expand Down

0 comments on commit 6597200

Please sign in to comment.