Searched defs:clientConnPool (Results 1 – 1 of 1) sorted by relevance
34 type clientConnPool struct { struct35 t *Transport member37 mu sync.Mutex // TODO: maybe switch to RWMutex40 conns map[string][]*ClientConn // key is host:port41 dialing map[string]*dialCall // currently in-flight dials42 keys map[*ClientConn][]string43 addConnCalls map[string]*addConnCall // in-flight addConnIfNeede calls46 func (p *clientConnPool) GetClientConn(req *http.Request, addr string) (*ClientConn, error) {55 …ientConnPool) getClientConn(req *http.Request, addr string, dialOnMiss bool) (*ClientConn, error) {91 func (p *clientConnPool) getStartDialLocked(addr string) *dialCall {[all …]