Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tooLargeDataFrame (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeAll(headerBlock)
        reader.nextFrame(requireSettings = false, assertHeaderBlock())
        assertThat(frame.exhausted()).isTrue()
      }
    
      @Test fun tooLargeDataFrame() {
        assertFailsWith<IllegalArgumentException> {
          sendDataFrame(Buffer().write(ByteArray(0x1000000)))
        }.also { expected ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top