Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 52 for IPv4 (0.02 seconds)

  1. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

        assertThat(recordedRequest.url.host).isEqualTo("2607:f8b0:400b:804::200e")
        assertThat(recordedRequest.handshakeServerNames).isEmpty()
      }
    
      /** No SNI for literal IPv4 addresses. */
      @Test
      fun ipv4() {
        val recordedRequest = requestToHostnameViaProxy("76.223.91.57")
        assertThat(recordedRequest.url.host).isEqualTo("76.223.91.57")
        assertThat(recordedRequest.handshakeServerNames).isEmpty()
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

          ),
        ).isEqualTo("255.255.255.255")
      }
    
      private fun decodeIpv6(input: String): ByteArray? = decodeIpv6(input, 0, input.length)
    
      @Test
      fun testToCanonicalHost() {
        // IPv4
        assertThat("127.0.0.1".toCanonicalHost()).isEqualTo("127.0.0.1")
        assertThat("1.2.3.4".toCanonicalHost()).isEqualTo("1.2.3.4")
    
        // IPv6
        assertThat("::1".toCanonicalHost()).isEqualTo("::1")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  3. ci/official/envs/rbe

      # Docker on Windows doesn't support the `host` networking mode, and so
      # port-forwarding is required for the container to detect it's running on GCE.
      export IP_ADDR=$(powershell -command "(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEthernet (nat)').IPAddress")
      netsh interface portproxy add v4tov4 listenaddress=$IP_ADDR listenport=80 connectaddress=169.254.169.254 connectport=80
      # A local firewall rule for the container is added in
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Aug 09 16:05:18 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. cmd/net.go

    	"runtime"
    	"sort"
    	"strings"
    
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    var (
    	// IPv4 addresses of localhost.
    	localIP4 = mustGetLocalIP4()
    
    	// IPv6 addresses of localhost.
    	localIP6 = mustGetLocalIP6()
    
    	// List of all local loopback addresses.
    	localLoopbacks = mustGetLocalLoopbacks()
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

     * [system DNS service][SYSTEM], which is the default. Some applications may provide their own
     * implementation to use a different DNS server, to prefer IPv6 addresses, to prefer IPv4 addresses,
     * or to force a specific known IP address.
     *
     * Implementations of this interface must be safe for concurrent use.
     */
    fun interface Dns {
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. ci/official/envs/windows_x86_2022

    # Docker on Windows doesn't support the `host` networking mode, and so
    # port-forwarding is required for the container to detect it's running on GCE.
    export IP_ADDR=$(powershell -command "(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEthernet (nat)').IPAddress")
    netsh interface portproxy add v4tov4 listenaddress=$IP_ADDR listenport=80 connectaddress=169.254.169.254 connectport=80
    # A local firewall rule for the container is added in
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Nov 06 19:44:26 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. docs/features/connections.md

     * Prefer to alternate IP addresses from different address families, (IPv6 / IPv4), starting with IPv6.
     * Don't start a new attempt until 250 ms after the most recent attempt was started.
     * Keep whichever TCP connection succeeds first and cancel all the others.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Click Count (0)
  8. ci/devinfra/docker/windows/Dockerfile

    # "The filename, directory name, or volume label syntax is incorrect."
    # In such cases, check that the name of the sub-interface is valid:
    # `netsh interface show interface`
    RUN netsh interface ipv4 set subinterface \"vEthernet (Ethernet)\" mtu=1460 store=persistent
    
    RUN md C:\TEMP
    RUN md C:\TMP
    
    # Install 7-Zip.
    RUN (New-Object Net.WebClient).DownloadFile('https://www.7-zip.org/a/7z2201-x64.msi', '7z.msi'); \
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Jan 17 16:35:57 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

              }
    
              call.eventListener.dnsEnd(call, socketHost, result)
              result
            }
    
          // Try each address for best behavior in mixed IPv4/IPv6 environments.
          val orderedAddresses =
            when {
              fastFallback -> reorderForHappyEyeballs(addresses)
              else -> addresses
            }
    
          for (inetAddress in orderedAddresses) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  10. README.md

    OkHttp perseveres when the network is troublesome: it will silently recover from common connection
    problems. If your service has multiple IP addresses, OkHttp will attempt alternate addresses if the
    first connect fails. This is necessary for IPv4+IPv6 and services hosted in redundant data
    centers. OkHttp supports modern TLS features (TLS 1.3, ALPN, certificate pinning). It can be
    configured to fall back for broad connectivity.
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top