MCPcopy
hub / github.com/grpc/grpc-go / MaxHeaderListSizeServerOption

Struct MaxHeaderListSizeServerOption

server.go:597–599  ·  view source on GitHub ↗

MaxHeaderListSizeServerOption is a ServerOption that sets the max (uncompressed) size of header list that the server is prepared to accept.

Source from the content-addressed store, hash-verified

595// MaxHeaderListSizeServerOption is a ServerOption that sets the max
596// (uncompressed) size of header list that the server is prepared to accept.
597type MaxHeaderListSizeServerOption struct {
598 MaxHeaderListSize uint32
599}
600
601func (o MaxHeaderListSizeServerOption) apply(so *serverOptions) {
602 so.maxHeaderListSize = &o.MaxHeaderListSize

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected