golang.org/x/net/http2.ClientConn.singleUse (field)
5 uses
golang.org/x/net/http2 (current package)
transport.go#L234: singleUse bool // whether being used for a single http.Request
transport.go#L651: singleUse: singleUse,
transport.go#L770: if cc.singleUse && cc.nextStreamID > 1 {
transport.go#L828: cc.vlogf("http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, nextID-2)
transport.go#L1809: 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. |