Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for socket_address (0.13 sec)

  1. istioctl/pkg/proxyconfig/testdata/config_dump.json

                  "endpoints": [
                    {
                      "lb_endpoints": [
                        {
                          "endpoint": {
                            "address": {
                              "socket_address": {
                                "address": "127.0.0.1",
                                "port_value": 15020
                              }
                            }
                          }
                        }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 54.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/testdata/configdump.json

              "active_state": {
                "listener": {
                  "@type": "type.googleapis.com/envoy.config.listener.v3.Listener",
                  "name": "connect_terminate",
                  "address": {
                    "socket_address": {
                      "address": "0.0.0.0",
                      "port_value": 15008
                    }
                  },
                  "filter_chains": [
                    {
                      "filters": [
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/testdata/configdump_diff.json

              "active_state": {
                "listener": {
                  "@type": "type.googleapis.com/envoy.config.listener.v3.Listener",
                  "name": "connect_terminate",
                  "address": {
                    "socket_address": {
                      "address": "0.0.0.0",
                      "port_value": 15008
                    }
                  },
                  "filter_chains": [
                    {
                      "filters": [
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Route.kt

      )
      fun proxy(): Proxy = proxy
    
      @JvmName("-deprecated_socketAddress")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "socketAddress"),
        level = DeprecationLevel.ERROR,
      )
      fun socketAddress(): InetSocketAddress = socketAddress
    
      /**
       * Returns true if this route tunnels HTTPS or HTTP/2 through an HTTP proxy.
       * See [RFC 2817, Section 5.2][rfc_2817].
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SocksProxyTest.kt

        val proxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI) = listOf(socksProxy.proxy())
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) = error("unexpected call")
          }
        val client =
          clientTestRule.newClientBuilder()
            .proxySelector(proxySelector)
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
    
        // InetAddress proxy specification.
        socketAddress = InetSocketAddress(InetAddress.getByName("localhost"), 1234)
        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
        socketAddress = InetSocketAddress(InetAddress.getByAddress(byteArrayOf(127, 0, 0, 1)), 1234)
        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
        socketAddress =
          InetSocketAddress(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

        requestedUris.clear()
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
        val socketAddress = sa as InetSocketAddress
        failures.add(format("%s %s:%d %s", uri, socketAddress, socketAddress.port, ioe.message!!))
      }
    
      override fun toString() = "RecordingProxySelector"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    
    class FakeProxySelector : ProxySelector() {
      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
        proxies.add(proxy)
        return this
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        // Define a single Proxy at myproxy:8008 that will artificially move during the test
        val proxySelector = RecordingProxySelector()
        val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008)
        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress))
    
        // Define two host names for the DNS routing of fake proxy servers
        val proxyServer1 = InetAddress.getByAddress("proxyServer1", byteArrayOf(127, 0, 0, 2))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/proxy/NullProxySelector.kt

     * limitations under the License.
     */
    package okhttp3.internal.proxy
    
    import java.io.IOException
    import java.net.Proxy
    import java.net.ProxySelector
    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> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top