Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top