Skip to content

Commit

Permalink
http3: use MaxResponseHeaderBytes option from transport
Browse files Browse the repository at this point in the history
  • Loading branch information
imroc committed Sep 11, 2024
1 parent 16b3f61 commit dcdcd1a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/http3/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ type SingleDestinationRoundTripper struct {
StreamHijacker func(FrameType, quic.ConnectionTracingID, quic.Stream, error) (hijacked bool, err error)
UniStreamHijacker func(ServerStreamType, quic.ConnectionTracingID, quic.ReceiveStream, error) (hijacked bool)

// MaxResponseHeaderBytes specifies a limit on how many response bytes are
// allowed in the server's response header.
// Zero means to use a default limit.
MaxResponseHeaderBytes int64

Logger *slog.Logger

initOnce sync.Once
Expand Down

0 comments on commit dcdcd1a

Please sign in to comment.