Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top