net/http.http2ClientConn.singleUse (field)
5 uses
net/http (current package)
h2_bundle.go#L6736: singleUse bool // whether being used for a single http.Request
h2_bundle.go#L7154: singleUse: singleUse,
h2_bundle.go#L7273: if cc.singleUse && cc.nextStreamID > 1 {
h2_bundle.go#L7331: cc.vlogf("http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, nextID-2)
h2_bundle.go#L8312: rl.closeWhenIdle = cc.t.disableKeepAlives() || cc.singleUse
![]() |
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. |