Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for no_proxy (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

      ): Request? {
        val challenges = response.challenges()
        val request = response.request
        val url = request.url
        val proxyAuthorization = response.code == 407
        val proxy = route?.proxy ?: Proxy.NO_PROXY
    
        for (challenge in challenges) {
          if (!"Basic".equals(challenge.scheme, ignoreCase = true)) {
            continue
          }
    
          val dns = route?.address?.dns ?: defaultDns
          val auth =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Route.kt

            append(":")
            append(address.url.port)
          }
    
          if (addressHostname != socketHostname) {
            when (proxy) {
              Proxy.NO_PROXY -> append(" at ")
              else -> append(" via proxy ")
            }
    
            when {
              socketHostname == null -> append("<unresolved>")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     */
    class TestValueFactory : Closeable {
      var taskFaker: TaskFaker = TaskFaker()
      var taskRunner: TaskRunner = taskFaker.taskRunner
      var dns: Dns = Dns.SYSTEM
      var proxy: Proxy = Proxy.NO_PROXY
      var proxySelector: ProxySelector = RecordingProxySelector()
      var proxyAuthenticator: Authenticator = RecordingOkAuthenticator("password", null)
      var connectionSpecs: List<ConnectionSpec> =
        listOf(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Address.kt

    import okhttp3.internal.toImmutableList
    
    /**
     * A specification for a connection to an origin server. For simple connections, this is the
     * server's hostname and port. If an explicit proxy is requested (or [no proxy][Proxy.NO_PROXY] is
     * explicitly requested), this also includes that proxy information. For secure connections the
     * address also includes the SSL socket factory, hostname verifier, and certificate pinner.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top