Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for enableHttps (0.1 seconds)

  1. internal/config/policy/plugin/config.go

    	}
    
    	u, err := xnet.ParseHTTPURL(pluginURL)
    	if err != nil {
    		return args, err
    	}
    
    	enableHTTP2 := false
    	if v := getCfg(EnableHTTP2); v != "" {
    		enableHTTP2, err = config.ParseBool(v)
    		if err != nil {
    			return args, err
    		}
    	}
    	httpSettings.EnableHTTP2 = enableHTTP2
    	transport := httpSettings.NewHTTPTransportWithTimeout(time.Minute)
    
    	args = Args{
    		URL:         u,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. cmd/utils.go

    		LookupHost:       globalDNSCache.LookupHost,
    		DialTimeout:      rest.DefaultTimeout,
    		RootCAs:          globalRootCAs,
    		CipherSuites:     crypto.TLSCiphers(),
    		CurvePreferences: crypto.TLSCurveIDs(),
    		EnableHTTP2:      false,
    		TCPOptions:       globalTCPOptions,
    	}.NewInternodeHTTPTransport(maxIdleConnsPerHost)
    }
    
    // NewHTTPTransportWithClientCerts returns a new http configuration
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
Back to Top