Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for forciblyStopDispatcher (0.08 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }
        responseBody.close()
      }
    
      @Test
      fun forciblyStopDispatcher() {
        client =
          client
            .newBuilder()
            .fastFallback(true)
            .build()
    
        val callFailure = CompletableFuture<Exception>()
    
        server.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top