net/http.http2clientStream.bufPipe (field)
13 uses
net/http (current package)
h2_bundle.go#L6785: bufPipe http2pipe // buffered pipe with the flow-controlled response payload
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#L8554: cs.bufPipe = http2pipe{b: &http2dataBuffer{expected: res.ContentLength}}
h2_bundle.go#L8611: n, err = b.cs.bufPipe.Read(p)
h2_bundle.go#L8647: v := int(cs.inflow.available()) + cs.bufPipe.Len()
h2_bundle.go#L8673: serverSentStreamEnd := cs.bufPipe.Err() == io.EOF
h2_bundle.go#L8674: unread := cs.bufPipe.Len()
h2_bundle.go#L8693: cs.bufPipe.BreakWithError(http2errClosedResponseBody)
h2_bundle.go#L8780: if _, err := cs.bufPipe.Write(data); err != nil {
h2_bundle.go#L8808: cs.bufPipe.closeWithErrorAndCode(err, code)
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. |