Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for minimumDelayEnforcedBetweenConnects (0.19 sec)

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

       *
       *  * if there's no TCP connect in flight, start one.
       *  * don't start a new TCP connect within 250 ms of the previous TCP connect.
       */
      @Test
      fun minimumDelayEnforcedBetweenConnects() {
        val plan0 = routePlanner.addPlan()
        plan0.tcpConnectDelayNanos = 510.ms
        plan0.tcpConnectThrowable = IOException("boom!")
        val plan1 = routePlanner.addPlan()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top