Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for no_proxy (0.23 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

          factory.newAddress(
            proxy = Proxy.NO_PROXY,
          )
        val routeSelector = newRouteSelector(address)
        assertThat(routeSelector.hasNext()).isTrue()
        dns[uriHost] = dns.allocate(2)
        val selection = routeSelector.next()
        assertRoute(selection.next(), address, Proxy.NO_PROXY, dns.lookup(uriHost, 0), uriPort)
        assertRoute(selection.next(), address, Proxy.NO_PROXY, dns.lookup(uriHost, 1), uriPort)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    	// URL for HTTP requests unless overridden by NoProxy.
    	HTTPProxy string
    
    	// HTTPSProxy represents the HTTPS_PROXY or https_proxy
    	// environment variable. It will be used as the proxy URL for
    	// HTTPS requests unless overridden by NoProxy.
    	HTTPSProxy string
    
    	// NoProxy represents the NO_PROXY or no_proxy environment
    	// variable. It specifies a string that contains comma-separated values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/preflight/checks_test.go

    				Proto: "https",
    				CIDR:  "10.96.0.0/12",
    			}, // Expected to be accessed directly, we set NO_PROXY to 10.0.0.0/8
    			expectWarnings: false,
    		},
    		{
    			check: HTTPProxyCIDRCheck{
    				Proto: "https",
    				CIDR:  "192.168.0.0/16",
    			}, // Expected to go via proxy as this range is not listed in NO_PROXY
    			expectWarnings: true,
    		},
    		{
    			check: HTTPProxyCIDRCheck{
    				Proto: "https",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/net/http.go

    // no matching CIDRs are found
    func NewProxierWithNoProxyCIDR(delegate func(req *http.Request) (*url.URL, error)) func(req *http.Request) (*url.URL, error) {
    	// we wrap the default method, so we only need to perform our check if the NO_PROXY (or no_proxy) envvar has a CIDR in it
    	noProxyEnv := os.Getenv("NO_PROXY")
    	if noProxyEnv == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 05 00:08:58 UTC 2022
    - 20.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        assertThat(client.proxySelector)
          .isNotInstanceOf(NullProxySelector::class.java)
        client =
          OkHttpClient.Builder()
            .proxy(Proxy.NO_PROXY)
            .build()
        assertThat(client.proxy).isSameAs(Proxy.NO_PROXY)
        assertThat(client.proxySelector)
          .isInstanceOf(NullProxySelector::class.java)
        client =
          OkHttpClient.Builder()
            .proxySelector(FakeProxySelector())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       *
       * Note that the list of proxies is never null, but it may be a list containing
       * only [Proxy.NO_PROXY]. This comes up in several situations:
       *
       * * If neither a proxy nor proxy selector is configured.
       * * If the proxy is configured explicitly as [Proxy.NO_PROXY].
       * * If the proxy selector returns only [Proxy.NO_PROXY].
       * * If the proxy selector returns an empty list or null.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. pkg/probe/http/http_test.go

    		fmt.Fprint(w, res)
    	}))
    	defer server.Close()
    
    	localProxy := server.URL
    
    	t.Setenv("http_proxy", localProxy)
    	t.Setenv("HTTP_PROXY", localProxy)
    	unsetEnv(t, "no_proxy")
    	unsetEnv(t, "NO_PROXY")
    
    	followNonLocalRedirects := true
    	prober := New(followNonLocalRedirects)
    
    	// take some time to wait server boot
    	time.Sleep(2 * time.Second)
    	url, err := url.Parse("http://example.com")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:40:08 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

        protected CurlRequest createCurlRequest(final String url) {
            final CurlRequest request = Curl.get(url);
            final Proxy proxy = ComponentUtil.getFessConfig().getHttpProxy();
            if (proxy != null && !Proxy.NO_PROXY.equals(proxy)) {
                request.proxy(proxy);
            }
            return request;
        }
    
        public void deleteInstalledArtifact(final Artifact artifact) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go

    			noProxy:           "192.168.63.0/24,192.168.143.0/24",
    			url:               "https://192.168.143.1:8443/api",
    			expectedDelegated: false,
    		},
    		{
    			name:              "IPv6 cidr",
    			noProxy:           "2001:db8::/48",
    			url:               "https://[2001:db8::1]/api",
    			expectedDelegated: false,
    		},
    		{
    			name:              "IPv6+port cidr",
    			noProxy:           "2001:db8::/48",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:21:56 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.writeTimeout(Duration.ofSeconds(0L))
        builder = builder.pingInterval(0L, TimeUnit.SECONDS)
        builder = builder.pingInterval(Duration.ofSeconds(0L))
        builder = builder.proxy(Proxy.NO_PROXY)
        builder = builder.proxySelector(NullProxySelector)
        builder = builder.cookieJar(CookieJar.NO_COOKIES)
        builder = builder.cache(Cache(File("/cache/"), Integer.MAX_VALUE.toLong()))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top