Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        assertThat(listener.recordedEventTypes())
          .containsExactly("CallStart", "CallStart", "CallFailed")
      }
    
      @Test
      fun executionRejectedAfterMaxRequestsPerHostChange() {
        val request1 = newRequest("http://a/1")
        val request2 = newRequest("http://a/2")
        dispatcher.maxRequestsPerHost = 1
        client.newCall(request1).enqueue(callback)
        executor.shutdown()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top