Skip to content

Commit ab78e8d

Browse files
committed
chore: remove un-needed new line; add comment about quic-go trailer support
1 parent c059169 commit ab78e8d

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
@@ -566,6 +566,7 @@ func (f *flags) validate(hasURL, isSecure bool) error {
566566
return fmt.Errorf("--%s cannot be used with --%s", unixSocketFlagName, http3FlagName)
567567
}
568568

569+
// NOTE: This can be removed once trailer support lands for quic-go: https://github.com/quic-go/quic-go/issues/2266
569570
if f.Protocol == connect.ProtocolGRPC && f.HTTP3 {
570571
return fmt.Errorf("--%s cannot be used with --%s=%s", http3FlagName, protocolFlagName, connect.ProtocolGRPC)
571572
}
@@ -1101,7 +1102,6 @@ func makeHTTPClient(f *flags, isSecure bool, authority string, printer verbose.P
11011102
if err != nil {
11021103
return nil, err
11031104
}
1104-
11051105
dialTLSFunc = func(ctx context.Context, network, addr string) (net.Conn, error) {
11061106
conn, err := dialFunc(ctx, network, addr)
11071107
if err != nil {

0 commit comments

Comments
 (0)