Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for readIndexedHeaderFieldInsidiousIndex (0.15 seconds)

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

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

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Header index too large 127")
        }
      }
    
      // Example taken from twitter/hpack DecoderTest.testInsidiousIndex
      @Test
      fun readIndexedHeaderFieldInsidiousIndex() {
        bytesIn.writeByte(0xff) // == Indexed - Add ==
        bytesIn.write("8080808008".decodeHex()) // idx = -2147483521
        assertFailsWith<IOException> {
          hpackReader!!.readHeaders()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
Back to Top