Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top