Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for proxyURL (0.11 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    	proxyURL, err := s.proxier(req)
    	if err != nil {
    		return nil, err
    	}
    
    	if proxyURL == nil {
    		return s.dialWithoutProxy(req.Context(), req.URL)
    	}
    
    	switch proxyURL.Scheme {
    	case "socks5":
    		return s.dialWithSocks5Proxy(req, proxyURL)
    	case "https", "http", "":
    		return s.dialWithHttpProxy(req, proxyURL)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    	if proxy == "" {
    		return nil, nil
    	}
    
    	proxyURL, err := url.Parse(proxy)
    	if err != nil || proxyURL.Scheme == "" || proxyURL.Host == "" {
    		// proxy was bogus. Try prepending "http://" to it and
    		// see if that parses correctly. If not, we fall
    		// through and complain about the original one.
    		if proxyURL, err := url.Parse("http://" + proxy); err == nil {
    			return proxyURL, nil
    		}
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. pkg/test/echo/server/forwarder/config.go

    	c.hboneTLSConfig, err = newHBONETLSConfig(c)
    	if err != nil {
    		return err
    	}
    
    	// Parse the proxy if specified.
    	if len(c.Proxy) > 0 {
    		proxyURL, err := url.Parse(c.Proxy)
    		if err != nil {
    			return err
    		}
    
    		c.proxyURL = http.ProxyURL(proxyURL)
    	}
    
    	// Configure reuseConnection and forceDNSLookup as appropriate.
    	switch c.scheme {
    	case scheme.DNS:
    		c.newConnectionPerRequest = true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. internal/logger/target/http/http.go

    	} else {
    		h.payloadType = "application/json"
    	}
    
    	// If proxy available, set the same
    	if h.config.Proxy != "" {
    		proxyURL, _ := url.Parse(h.config.Proxy)
    		transport := h.config.Transport
    		ctransport := transport.(*http.Transport).Clone()
    		ctransport.Proxy = http.ProxyURL(proxyURL)
    		h.config.Transport = ctransport
    	}
    
    	h.client = &http.Client{Transport: h.config.Transport}
    	return h, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    				spdyTransport.proxier = func(proxierReq *http.Request) (*url.URL, error) {
    					proxierCalled = true
    					proxyURL, err := url.Parse(proxy.URL)
    					if err != nil {
    						return nil, err
    					}
    					proxyURL.User = testCase.proxyAuth
    					return proxyURL, nil
    				}
    			}
    
    			client := &http.Client{Transport: spdyTransport}
    
    			resp, err := client.Do(req)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  6. api/api-rules/violation_exceptions.list

    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1,Cluster,InsecureSkipTLSVerify
    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1,Cluster,ProxyURL
    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1,Cluster,TLSServerName
    API rule violation: names_match,k8s.io/client-go/pkg/apis/clientauthentication/v1beta1,Cluster,CertificateAuthorityData
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. src/cmd/go/script_test.go

    		"GODEBUG=" + os.Getenv("GODEBUG"),
    		"GOEXE=" + cfg.ExeSuffix,
    		"GOEXPERIMENT=" + os.Getenv("GOEXPERIMENT"),
    		"GOOS=" + runtime.GOOS,
    		"TESTGO_GOHOSTOS=" + goHostOS,
    		"GOPROXY=" + proxyURL,
    		"GOPRIVATE=",
    		"GOROOT=" + testGOROOT,
    		"GOTRACEBACK=system",
    		"TESTGONETWORK=panic", // allow only local connections by default; the [net] condition resets this
    		"TESTGO_GOROOT=" + testGOROOT,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. pkg/kube/util.go

    			Exec:                  auths.Exec,
    			// Extensions: Not needed,
    		}
    
    		// Other relevant fields that are not acted on:
    		// * Cluster.Server (and ProxyURL). This allows the user to send requests to arbitrary URLs, enabling potential SSRF attacks.
    		//   However, we don't actually know what valid URLs are, so we cannot reasonably constrain this. Instead,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top