golang.org/x/net/http2/hpack.Decoder.maxStrLen (field)
10 uses
golang.org/x/net/http2/hpack (current package)
hpack.go#L84: maxStrLen int // 0 means unlimited
hpack.go#L123: d.maxStrLen = n
hpack.go#L270: if d.maxStrLen != 0 && int64(len(d.buf)) > 2*(int64(d.maxStrLen)+varIntOverhead) {
hpack.go#L387: if d.maxStrLen != 0 {
hpack.go#L388: if len(hf.Name) > d.maxStrLen || len(hf.Value) > d.maxStrLen {
hpack.go#L479: if d.maxStrLen != 0 && strLen > uint64(d.maxStrLen) {
hpack.go#L496: if err := huffmanDecode(buf, d.maxStrLen, p[:strLen]); err != nil {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |