Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewHTTPTransportWithClientCerts (0.27 sec)

  1. internal/http/transports.go

    	// Settings specific to this transport.
    	tr.ResponseHeaderTimeout = timeout
    	return tr
    }
    
    // NewHTTPTransportWithClientCerts returns a new http configuration used for
    // communicating with client cert authentication.
    func (s ConnSettings) NewHTTPTransportWithClientCerts(ctx context.Context, clientCert, clientKey string) (*http.Transport, error) {
    	transport := s.NewHTTPTransportWithTimeout(1 * time.Minute)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		}
    		userAgent := getUserAgent(getMinioMode())
    		for n, l := range loggerCfg.HTTP {
    			if l.Enabled {
    				l.LogOnceIf = configLogOnceConsoleIf
    				l.UserAgent = userAgent
    				l.Transport = NewHTTPTransportWithClientCerts(l.ClientCert, l.ClientKey)
    			}
    			loggerCfg.HTTP[n] = l
    		}
    		if errs := logger.UpdateHTTPWebhooks(ctx, loggerCfg.HTTP); len(errs) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/utils.go

    		EnableHTTP2:      false,
    		TCPOptions:       globalTCPOptions,
    	}.NewInternodeHTTPTransport(maxIdleConnsPerHost)
    }
    
    // NewHTTPTransportWithClientCerts returns a new http configuration
    // used while communicating with the cloud backends.
    func NewHTTPTransportWithClientCerts(clientCert, clientKey string) http.RoundTripper {
    	s := xhttp.ConnSettings{
    		LookupHost:       globalDNSCache.LookupHost,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top