Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readPaddedDataFrameZeroPadding (0.12 sec)

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

        frame.write(padding)
        reader.nextFrame(requireSettings = false, assertData())
        // Padding was skipped.
        assertThat(frame.exhausted()).isTrue()
      }
    
      @Test fun readPaddedDataFrameZeroPadding() {
        val dataLength = 1123
        val expectedData = ByteArray(dataLength)
        Arrays.fill(expectedData, 2.toByte())
        writeMedium(frame, dataLength + 1)
        frame.writeByte(Http2.TYPE_DATA)
    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