Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for noRecoverWhenRetryOnConnectionFailureIsFalse (0.62 sec)

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

      }
    
      @Test
      fun recoverWhenRetryOnConnectionFailureIsTrue_HTTP2() {
        enableProtocol(Protocol.HTTP_2)
        recoverWhenRetryOnConnectionFailureIsTrue()
      }
    
      @Test
      fun noRecoverWhenRetryOnConnectionFailureIsFalse() {
        server.enqueue(MockResponse(body = "seed connection pool"))
        server.enqueue(MockResponse.Builder().onResponseStart(CloseSocket()).build())
        server.enqueue(MockResponse(body = "unreachable!"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
Back to top