Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for idleConnWait (0.08 sec)

  1. src/net/http/transport.go

    		if stop {
    			return delivered
    		}
    	}
    
    	// Register to receive next connection that becomes idle.
    	if t.idleConnWait == nil {
    		t.idleConnWait = make(map[connectMethodKey]wantConnQueue)
    	}
    	q := t.idleConnWait[w.key]
    	q.cleanFrontNotWaiting()
    	q.pushBack(w)
    	t.idleConnWait[w.key] = q
    	return false
    }
    
    // removeIdleConn marks pconn as dead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top