net/http.http2pipe.CloseWithError (method)
9 uses
net/http (current package)
h2_bundle.go#L3545: func (p *http2pipe) CloseWithError(err error) { p.closeWithError(&p.err, err, nil) }
h2_bundle.go#L5106: p.CloseWithError(err)
h2_bundle.go#L5252: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
h2_bundle.go#L5316: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
h2_bundle.go#L5320: st.body.CloseWithError(io.EOF)
h2_bundle.go#L6848: cs.bufPipe.CloseWithError(err)
h2_bundle.go#L7408: cs.bufPipe.CloseWithError(err)
h2_bundle.go#L8298: cs.bufPipe.CloseWithError(err) // no-op if already closed
h2_bundle.go#L8932: cs.bufPipe.CloseWithError(err)
![]() |
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. |