Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrr/http2
/ checkLen
Method
checkLen
frameHeader.go:261–266 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
259
}
260
261
func
(f *FrameHeader) checkLen() error {
262
if
f.maxLen != 0 && f.length > int(f.maxLen) {
263
return
ErrPayloadExceeds
264
}
265
return
nil
266
}
Callers
1
readFrom
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected