Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxDynamicTableByteCount (0.14 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

            return result
          }
    
          fun maxDynamicTableByteCount(): Int = maxDynamicTableByteCount
    
          private fun adjustDynamicTableByteCount() {
            if (maxDynamicTableByteCount < dynamicTableByteCount) {
              if (maxDynamicTableByteCount == 0) {
                clearDynamicTable()
              } else {
                evictToRecoverBytes(dynamicTableByteCount - maxDynamicTableByteCount)
              }
            }
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x20)
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.maxDynamicTableByteCount()).isEqualTo(0)
        bytesIn.writeByte(0x3f) // encode size 4096
        bytesIn.writeByte(0xe1)
        bytesIn.writeByte(0x1f)
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.maxDynamicTableByteCount()).isEqualTo(4096)
      }
    
      // Example taken from twitter/hpack DecoderTest.testIllegalHeaderTableSizeUpdate
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
Back to top