Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for allocateIpv6 (0.07 sec)

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

          newRouteSelector(
            address = address,
            fastFallback = false,
          )
        assertThat(routeSelector.hasNext()).isTrue()
        val (ipv4_1, ipv4_2) = dns.allocate(2)
        val (ipv6_1, ipv6_2) = dns.allocateIpv6(2)
        dns[uriHost] = listOf(ipv4_1, ipv4_2, ipv6_1, ipv6_2)
    
        val selection = routeSelector.next()
        assertThat(selection.routes.map { it.socketAddress.address }).containsExactly(
          ipv4_1,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top