net/http.Request.Close (field)
15 uses
net/http (current package)
h2_bundle.go#L9175: return req.Close || httpguts.HeaderValuesContainsToken(req.Header["Connection"], "close")
request.go#L217: Close bool
request.go#L1097: req.Close = shouldClose(req.ProtoMajor, req.ProtoMinor, req.Header, false)
request.go#L1112: req.Close = true
request.go#L1395: if r.Close {
transfer.go#L86: t.Close = rr.Close
transfer.go#L506: t.Close = rr.Close
transfer.go#L584: rr.Close = t.Close
transport.go#L2125: if resp.Close || rc.req.Close || resp.StatusCode <= 199 || bodyWritable {
net/http/httptest
httptest.go#L52: req.Close = false
net/http/httputil
dump.go#L261: if req.Close {
persist.go#L157: if req.Close {
persist.go#L332: if req.Close {
reverseproxy.go#L242: outreq.Close = false
golang.org/x/net/http2
transport.go#L2671: return req.Close || httpguts.HeaderValuesContainsToken(req.Header["Connection"], "close")
![]() |
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. |