Skip to content

Commit

Permalink
MaxHeaderListSize return value instead of pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouyihaiDing committed Mar 20, 2024
1 parent 829d4fe commit 5f415f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ func (o MaxHeaderListSizeServerOption) apply(so *serverOptions) {
// MaxHeaderListSize returns a ServerOption that sets the max (uncompressed) size
// of header list that the server is prepared to accept.
func MaxHeaderListSize(s uint32) ServerOption {
return &MaxHeaderListSizeServerOption{
return MaxHeaderListSizeServerOption{
MaxHeaderListSize: s,
}
}
Expand Down

0 comments on commit 5f415f0

Please sign in to comment.