Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for callAndCancel (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        )
        server.dispatcher = dispatcher
        client =
          client
            .newBuilder()
            .dns(DoubleInetAddressDns())
            .build()
        callAndCancel(0, responseDequeuedLatches[0], requestCanceledLatches[0])
        callAndCancel(1, responseDequeuedLatches[1], requestCanceledLatches[1])
    
        // Make a third request to ensure the connection is reused.
        val call = client.newCall(Request(server.url("/")))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
Back to top