type net/http.persistConn
41 uses
net/http (current package)
transport.go#L97: idleConn map[connectMethodKey][]*persistConn // most recently used at end
transport.go#L679: func (pc *persistConn) shouldRetryRequest(req *Request, err error) bool {
transport.go#L886: func (t *Transport) putOrCloseIdleConn(pconn *persistConn) {
transport.go#L904: func (t *Transport) tryPutIdleConn(pconn *persistConn) error {
transport.go#L964: t.idleConn = make(map[connectMethodKey][]*persistConn)
transport.go#L1087: func (t *Transport) removeIdleConn(pconn *persistConn) bool {
transport.go#L1094: func (t *Transport) removeIdleConnLocked(pconn *persistConn) bool {
transport.go#L1193: pc *persistConn
transport.go#L1208: func (w *wantConn) tryDeliver(pc *persistConn, err error) bool {
transport.go#L1324: func (t *Transport) getConn(treq *transportRequest, cm connectMethod) (pc *persistConn, err error) {
transport.go#L1508: func (pconn *persistConn) addTLS(name string, trace *httptrace.ClientTrace) error {
transport.go#L1556: func (t *Transport) dialConn(ctx context.Context, cm connectMethod) (pconn *persistConn, err error) {
transport.go#L1557: pconn = &persistConn{
transport.go#L1736: return &persistConn{t: t, cacheKey: pconn.cacheKey, alt: alt}, nil
transport.go#L1755: pc *persistConn
transport.go#L1865: type persistConn struct {
transport.go#L1908: func (pc *persistConn) maxHeaderResponseSize() int64 {
transport.go#L1915: func (pc *persistConn) Read(p []byte) (n int, err error) {
transport.go#L1931: func (pc *persistConn) isBroken() bool {
transport.go#L1940: func (pc *persistConn) canceled() error {
transport.go#L1947: func (pc *persistConn) isReused() bool {
transport.go#L1954: func (pc *persistConn) gotIdleConnTrace(idleAt time.Time) (t httptrace.GotConnInfo) {
transport.go#L1966: func (pc *persistConn) cancelRequest(err error) {
transport.go#L1976: func (pc *persistConn) closeConnIfStillIdle() {
transport.go#L1996: func (pc *persistConn) mapRoundTripError(req *transportRequest, startBytesWritten int64, err error) error {
transport.go#L2048: func (pc *persistConn) readLoop() {
transport.go#L2228: func (pc *persistConn) readLoopPeekFailLocked(peekErr error) {
transport.go#L2265: func (pc *persistConn) readResponse(rc requestAndChan, trace *httptrace.ClientTrace) (resp *Response, err error) {
transport.go#L2322: func (pc *persistConn) waitForContinue(continueCh <-chan struct{}) func() bool {
transport.go#L2379: func (pc *persistConn) writeLoop() {
transport.go#L2424: func (pc *persistConn) wroteRequest() bool {
transport.go#L2524: func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err error) {
transport.go#L2675: func (pc *persistConn) markReused() {
transport.go#L2686: func (pc *persistConn) close(err error) {
transport.go#L2692: func (pc *persistConn) closeLocked(err error) {
transport.go#L2861: m map[*persistConn]*list.Element
transport.go#L2865: func (cl *connLRU) add(pc *persistConn) {
transport.go#L2868: cl.m = make(map[*persistConn]*list.Element)
transport.go#L2877: func (cl *connLRU) removeOldest() *persistConn {
transport.go#L2879: pc := ele.Value.(*persistConn)
transport.go#L2886: func (cl *connLRU) remove(pc *persistConn) {
 |
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. |