Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for proxySelectorDirectConnectionsAreSkipped (0.4 sec)

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

        dns.assertRequests(PROXY_B_HOST)
        assertThat(selection2.hasNext()).isFalse()
    
        // No more proxies to try.
        assertThat(routeSelector.hasNext()).isFalse()
      }
    
      @Test fun proxySelectorDirectConnectionsAreSkipped() {
        val address = factory.newAddress()
        proxySelector.proxies.add(Proxy.NO_PROXY)
        val routeSelector = newRouteSelector(address)
        proxySelector.assertRequests(address.url.toUri())
    
    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