Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for headersReadTimeoutDoesNotStartUntilLastRequestBodyByteFire (0.3 seconds)

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

      }
    
      /**
       * We delay sending the last byte of the request body 1500 ms. The 1000 ms read timeout should
       * only elapse 1000 ms after the request body is sent.
       */
      @Test
      fun headersReadTimeoutDoesNotStartUntilLastRequestBodyByteFire() {
        enableProtocol(Protocol.HTTP_2)
        server.enqueue(
          MockResponse
            .Builder()
            .headersDelay(1500, TimeUnit.MILLISECONDS)
            .build(),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
Back to Top