const net/http.maxPostHandlerReadBytes
6 uses
net/http (current package)
server.go#L1097: const maxPostHandlerReadBytes = 256 << 10
server.go#L1360: case bdy.unreadDataSizeLocked() >= maxPostHandlerReadBytes:
server.go#L1371: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
transfer.go#L986: if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
transfer.go#L994: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
transfer.go#L998: if n == maxPostHandlerReadBytes {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)