Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewCustomHTTPProxyTransport (0.12 sec)

  1. internal/http/transports.go

    	tr.TLSHandshakeTimeout = 15 * time.Second
    
    	return func() http.RoundTripper {
    		return tr
    	}
    }
    
    // NewCustomHTTPProxyTransport is used only for proxied requests, specifically
    // only supports HTTP/1.1
    func (s ConnSettings) NewCustomHTTPProxyTransport() func() *http.Transport {
    	s.EnableHTTP2 = false
    	tr := s.getDefaultTransport(0)
    
    	// Settings specific to proxied requests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top