Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for prefersExistingCompatible (0.17 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

      }
    
      /**
       * Check we would use an existing connection to a later DNS result instead of connecting to the
       * first DNS result for the first time.
       */
      @Test
      fun prefersExistingCompatible() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        val connectCount = AtomicInteger()
        val listener: EventListener =
          object : EventListener() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top