Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for http2authorityAddr (1.55 sec)

  1. src/net/http/h2_bundle.go

    		t1.TLSClientConfig.NextProtos = append(t1.TLSClientConfig.NextProtos, "http/1.1")
    	}
    	upgradeFn := func(authority string, c *tls.Conn) RoundTripper {
    		addr := http2authorityAddr("https", authority)
    		if used, err := connPool.addConnIfNeeded(addr, t2, c); err != nil {
    			go c.Close()
    			return http2erringRoundTripper{err}
    		} else if !used {
    			// Turns out we don't need this c.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top