golang.org/x/net/http2.stream.declBodyBytes (field)
8 uses
golang.org/x/net/http2 (current package)
server.go#L585: declBodyBytes int64 // or -1 if undeclared
server.go#L1696: if st.declBodyBytes != -1 && st.bodyBytes+int64(len(data)) > st.declBodyBytes {
server.go#L1697: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
server.go#L1760: if st.declBodyBytes != -1 && st.declBodyBytes != st.bodyBytes {
server.go#L1762: st.declBodyBytes, st.bodyBytes))
server.go#L1877: st.declBodyBytes = req.ContentLength
 |
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. |