Skip to content

Commit bd2d503

Browse files
committed
fix some comments
1 parent 366aa78 commit bd2d503

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/api/proxy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ func (c *connWithBufferedReader) Read(p []byte) (int, error) {
2424
//
2525
// Note: baseTransport is considered to be a clone created with transport.Clone()
2626
//
27-
// - If a the proxyPath is not empty, a unix socket proxy is created.
28-
// - Otherwise, the proxyURL is used to determine if we should proxy socks5 / http connections
27+
// - If proxyPath is not empty, a unix socket proxy is created.
28+
// - Otherwise, proxyURL is used to determine if we should proxy socks5 / http connections
2929
func withProxyTransport(baseTransport *http.Transport, proxyURL *url.URL, proxyPath string) *http.Transport {
3030
handshakeTLS := func(ctx context.Context, conn net.Conn, addr string) (net.Conn, error) {
3131
// Extract the hostname (without the port) for TLS SNI

0 commit comments

Comments
 (0)