Lines Matching defs:http2clientConnPool
767 type http2clientConnPool struct { struct
768 t *http2Transport member
770 mu sync.Mutex // TODO: maybe switch to RWMutex
773 conns map[string][]*http2ClientConn // key is host:port
774 dialing map[string]*http2dialCall // currently in-flight dials
775 keys map[*http2ClientConn][]string
776 addConnCalls map[string]*http2addConnCall // in-flight addConnIfNeeded calls
779 func (p *http2clientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
788 …ientConnPool) getClientConn(req *Request, addr string, dialOnMiss bool) (*http2ClientConn, error) {
849 func (p *http2clientConnPool) getStartDialLocked(ctx context.Context, addr string) *http2dialCall {
886 …lientConnPool) addConnIfNeeded(key string, t *http2Transport, c *tls.Conn) (used bool, err error) {
939 func (p *http2clientConnPool) addConnLocked(key string, cc *http2ClientConn) {
955 func (p *http2clientConnPool) MarkDead(cc *http2ClientConn) {
973 func (p *http2clientConnPool) closeIdleConnections() {
1007 type http2noDialClientConnPool struct{ *http2clientConnPool } anonMember