Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SETTINGS_MAX_CONCURRENT_STREAMS (0.34 sec)

  1. okhttp/src/main/kotlin/okhttp3/Connection.kt

     * used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any
     * number of streams, dynamically configured with `SETTINGS_MAX_CONCURRENT_STREAMS`. A connection
     * currently carrying zero streams is an idle stream. We keep it alive because reusing an existing
     * connection is typically faster than establishing a new one.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

            flags = FLAG_NONE,
          )
          for (i in 0 until Settings.COUNT) {
            if (!settings.isSet(i)) continue
            val id =
              when (i) {
                4 -> 3 // SETTINGS_MAX_CONCURRENT_STREAMS renumbered.
                7 -> 4 // SETTINGS_INITIAL_WINDOW_SIZE renumbered.
                else -> i
              }
            sink.writeShort(id)
            sink.writeInt(settings[i])
          }
          sink.flush()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

            2 -> {
              if (value != 0 && value != 1) {
                throw IOException("PROTOCOL_ERROR SETTINGS_ENABLE_PUSH != 0 or 1")
              }
            }
    
            // SETTINGS_MAX_CONCURRENT_STREAMS
            3 -> id = 4 // Renumbered in draft 10.
    
            // SETTINGS_INITIAL_WINDOW_SIZE
            4 -> {
              id = 7 // Renumbered in draft 10.
              if (value < 0) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/net/http/h2_bundle.go

    	// StrictMaxConcurrentStreams controls whether the server's
    	// SETTINGS_MAX_CONCURRENT_STREAMS should be respected
    	// globally. If false, new TCP connections are created to the
    	// server as needed to keep each under the per-connection
    	// SETTINGS_MAX_CONCURRENT_STREAMS limit. If true, the
    	// server's SETTINGS_MAX_CONCURRENT_STREAMS is interpreted as
    	// a global limit and callers of RoundTrip block when needed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top