Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for asyncLeakedResponseBodyLogsStackTrace (0.16 seconds)

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

        assertThat(message).contains(
          "A connection to ${server.url("/")} was leaked. Did you forget to close a response body?",
        )
      }
    
      @Tag("Slowish")
      @Test
      fun asyncLeakedResponseBodyLogsStackTrace() {
        server.enqueue(MockResponse(body = "This gets leaked."))
        client =
          clientTestRule
            .newClientBuilder()
            .connectionPool(ConnectionPool(0, 10, TimeUnit.MILLISECONDS))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
Back to Top