Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for no_proxy (0.12 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. okhttp/src/main/kotlin/okhttp3/internal/proxy/NullProxySelector.kt

    import java.net.SocketAddress
    import java.net.URI
    
    /**
     * A proxy selector that always returns the [Proxy.NO_PROXY].
     */
    object NullProxySelector : ProxySelector() {
      override fun select(uri: URI?): List<Proxy> {
        requireNotNull(uri) { "uri must not be null" }
        return listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI?,
        sa: SocketAddress?,
        ioe: IOException?,
      ) {
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. hack/lib/init.sh

    # compression for build container
    KUBE_RSYNC_COMPRESS="${KUBE_RSYNC_COMPRESS:-0}"
    
    # Set no_proxy for localhost if behind a proxy, otherwise,
    # the connections to localhost in scripts will time out
    export no_proxy="127.0.0.1,localhost${no_proxy:+,${no_proxy}}"
    
    source "${KUBE_ROOT}/hack/lib/util.sh"
    source "${KUBE_ROOT}/hack/lib/logging.sh"
    
    kube::log::install_errexit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/AddressTest.kt

      }
    
      @Test fun addressWithProxyToString() {
        val address = factory.newAddress(proxy = Proxy.NO_PROXY)
        assertThat(address.toString())
          .isEqualTo("Address{example.com:80, proxy=${Proxy.NO_PROXY}}")
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/net/http/proxy_test.go

    			t.Fatalf("{%q, %q, %q} cache key = %q; want %q", tt.proxy, tt.scheme, tt.addr, got, tt.key)
    		}
    	}
    }
    
    func ResetProxyEnv() {
    	for _, v := range []string{"HTTP_PROXY", "http_proxy", "NO_PROXY", "no_proxy", "REQUEST_METHOD"} {
    		os.Unsetenv(v)
    	}
    	ResetCachedEnvironment()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 05:30:49 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

          val uri = url.toUri()
          if (uri.host == null) return immutableListOf(Proxy.NO_PROXY)
    
          // Try each of the ProxySelector choices until one connection succeeds.
          val proxiesOrNull = address.proxySelector.select(uri)
          if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY)
    
          return proxiesOrNull.toImmutableList()
        }
    
        connectionUser.proxySelectStart(url)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
        return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top