Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SETTINGS_INITIAL_WINDOW_SIZE (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

            }
    
            // 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) {
                throw IOException("PROTOCOL_ERROR SETTINGS_INITIAL_WINDOW_SIZE > 2^31 - 1")
              }
            }
    
            // SETTINGS_MAX_FRAME_SIZE
            5 -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeShort(4) // SETTINGS_INITIAL_WINDOW_SIZE
        frame.writeInt(Int.MIN_VALUE)
        assertFailsWith<IOException> {
          reader.nextFrame(requireSettings = false, BaseTestHandler())
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "PROTOCOL_ERROR SETTINGS_INITIAL_WINDOW_SIZE > 2^31 - 1",
          )
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top