• Tatsuhiro Tsujikawa's avatar
    nghttpd_hd: Update static table and use 1-based index · 94ec4dbe
    Tatsuhiro Tsujikawa authored
    The specification now says that index to the header table entry is
    1-based. Since 0-based index is very handy to access arrays, we
    internally uses 0-based index. We just convert it to 1-based when
    we emit to the block and convert 1-based to 0-based on decoding.
    94ec4dbe
nghttp2_hd_test.c 30.6 KB