nghttpd_hd: Update static table and use 1-based index
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.
Showing
Please register or sign in to comment