Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewCustomHTTPProxyTransport (0.32 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.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 00:50:37 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top