net/http.http2responseWriterState.handlerDone (field)
8 uses
net/http (current package)
h2_bundle.go#L5925: handlerDone bool // handler has finished
h2_bundle.go#L5988: if clen == "" && rws.handlerDone && http2bodyAllowedForStatus(rws.status) && (len(p) > 0 || !isHeadResp) {
h2_bundle.go#L6022: endStream := (rws.handlerDone && !rws.hasTrailers() && len(p) == 0) || isHeadResp
h2_bundle.go#L6043: if len(p) == 0 && !rws.handlerDone {
h2_bundle.go#L6047: if rws.handlerDone {
h2_bundle.go#L6054: endStream := rws.handlerDone && !hasNonemptyTrailers
h2_bundle.go#L6063: if rws.handlerDone && hasNonemptyTrailers {
h2_bundle.go#L6271: rws.handlerDone = true
![]() |
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. |