We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 508e0c9 commit d14fe39Copy full SHA for d14fe39
1 file changed
internal/api/proxy.go
@@ -63,6 +63,7 @@ func withProxyTransport(baseTransport *http.Transport, proxyURL *url.URL, proxyP
63
}
64
tlsConn := tls.Client(conn, cfg)
65
if err := tlsConn.HandshakeContext(ctx); err != nil {
66
+ tlsConn.Close()
67
return nil, err
68
69
return tlsConn, nil
0 commit comments