Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fputs (0.22 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

              proxy: Proxy,
            ) {
              // Let request1 proceed to make a connection.
              latch1.countDown()
              try {
                // Wait until request1 makes the connection and puts it in the connection pool.
                latch2.await()
              } catch (e: InterruptedException) {
                throw AssertionError(e)
              }
            }
    
            override fun connectionAcquired(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        )
    
        taskFaker.advanceUntil(540.ms)
        assertEvents(
          "plan 2 TCP connect canceled",
        )
    
        taskFaker.assertNoMoreTasks()
      }
    
      /**
       * This test puts several connections in flight that all fail at approximately the same time. It
       * confirms the fast fallback implements these invariants:
       *
       *  * if there's no TCP connect in flight, start one.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun cancelInFlightBeforeResponseReadThrowsIOE_HTTP_2() {
        enableProtocol(Protocol.HTTP_2)
        cancelInFlightBeforeResponseReadThrowsIOE()
      }
    
      /**
       * This test puts a request in front of one that is to be canceled, so that it is canceled before
       * I/O takes place.
       */
      @Test
      fun canceledBeforeIOSignalsOnFailure() {
        // Force requests to be executed serially.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top