Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        // Stalling the socket will cause TWO requests to time out!
        server.enqueue(MockResponse(socketPolicy = StallSocketAtStart))
    
        // The 3rd request should be sent to a fresh connection.
        server.enqueue(
          MockResponse(body = "fresh connection"),
        )
    
        // The first call times out.
        val call1 = client.newCall(Request(server.url("/")))
        assertFailsWith<IOException> {
          call1.execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top