Skip to content

Commit 60a1d60

Browse files
committed
chore: remove un-needed new line; add comment about quic-go trailer support
1 parent 16547d8 commit 60a1d60

File tree

1 file changed

+1
-1
lines changed
  • private/buf/cmd/buf/command/curl

1 file changed

+1
-1
lines changed

private/buf/cmd/buf/command/curl/curl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ func (f *flags) validate(isSecure bool) error {
519519
return fmt.Errorf("--%s cannot be used with --%s", unixSocketFlagName, http3FlagName)
520520
}
521521

522+
// NOTE: This can be removed once trailer support lands for quic-go: https://github.com/quic-go/quic-go/issues/2266
522523
if f.Protocol == connect.ProtocolGRPC && f.HTTP3 {
523524
return fmt.Errorf("--%s cannot be used with --%s=%s", http3FlagName, protocolFlagName, connect.ProtocolGRPC)
524525
}
@@ -995,7 +996,6 @@ func makeHTTPClient(f *flags, isSecure bool, authority string, printer verbose.P
995996
if err != nil {
996997
return nil, err
997998
}
998-
999999
dialTLSFunc = func(ctx context.Context, network, addr string) (net.Conn, error) {
10001000
conn, err := dialFunc(ctx, network, addr)
10011001
if err != nil {

0 commit comments

Comments
 (0)