We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fea6f0 commit 2077511Copy full SHA for 2077511
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