Skip to content

Commit 0b94503

Browse files
Update internal/transport/http2_client.go
Co-authored-by: Arvind Bright <[email protected]>
1 parent 3e5bf86 commit 0b94503

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/transport/http2_client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ func dial(ctx context.Context, fn func(context.Context, string) (net.Conn, error
176176
if networkType == "tcp" && useProxy {
177177
return proxyDial(ctx, address, grpcUA)
178178
}
179-
// KeepAlive is set to a negative value to prevent Go's override of the TCP keepalive time and interval; retain the OS default.
179+
// KeepAlive is set to a negative value to prevent Go's override of the TCP
180+
// keepalive time and interval; retain the OS default.
180181
return (&net.Dialer{KeepAlive: time.Duration(-1)}).DialContext(ctx, networkType, address)
181182
}
182183

0 commit comments

Comments
 (0)