Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for settingsLimitsMaxConcurrentStreams (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      /**
       * Push a setting that permits up to 2 concurrent streams, then make 3 concurrent requests and
       * confirm that the third concurrent request prepared a new connection.
       */
      @Test
      fun settingsLimitsMaxConcurrentStreams() {
        val settings = Settings()
        settings[Settings.MAX_CONCURRENT_STREAMS] = 2
    
        // Read & write a full request to confirm settings are accepted.
        server.enqueue(
          MockResponse
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
Back to Top