MCPcopy Create free account
hub / github.com/imroc/req / maxHeaderListSize

Method maxHeaderListSize

internal/http2/frame.go:340–345  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338}
339
340func (h2f *Framer) maxHeaderListSize() uint32 {
341 if h2f.MaxHeaderListSize == 0 {
342 return 16 << 20 // sane default, per docs
343 }
344 return h2f.MaxHeaderListSize
345}
346
347func (h2f *Framer) startWrite(ftype FrameType, flags Flags, streamID uint32) {
348 // Write the FrameHeader.

Callers 2

maxHeaderStringLenMethod · 0.95
readMetaFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected