Skip to content

Commit 5f415f0

Browse files
committed
MaxHeaderListSize return value instead of pointer
1 parent 829d4fe commit 5f415f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ func (o MaxHeaderListSizeServerOption) apply(so *serverOptions) {
541541
// MaxHeaderListSize returns a ServerOption that sets the max (uncompressed) size
542542
// of header list that the server is prepared to accept.
543543
func MaxHeaderListSize(s uint32) ServerOption {
544-
return &MaxHeaderListSizeServerOption{
544+
return MaxHeaderListSizeServerOption{
545545
MaxHeaderListSize: s,
546546
}
547547
}

0 commit comments

Comments
 (0)