Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compressedDataFrameWhenSettingDisabled (0.11 sec)

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

          assertThat(expected.message).isEqualTo("PROTOCOL_ERROR: TYPE_DATA streamId == 0")
        }
      }
    
      /** We do not send SETTINGS_COMPRESS_DATA = 1, nor want to. Let's make sure we error.  */
      @Test fun compressedDataFrameWhenSettingDisabled() {
        val expectedData = ByteArray(Http2.INITIAL_MAX_FRAME_SIZE)
        Arrays.fill(expectedData, 2.toByte())
        val zipped = gzip(expectedData)
        val zippedSize = zipped.size.toInt()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
Back to top