mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-08 11:08:52 +08:00
Strictly check occurrence of dynamic table size update
RFC 7541 requires that dynamic table size update must occur at the beginning of the first header block, and is signaled as SETTINGS acknowledgement. This commit checks these conditions. If dynamic table size update appears other than the beginning of the first header block, it is treated as error. If SETTINGS ACK is received, and next HEADERS header block does not have dynamic table size update, it is treated as error.
This commit is contained in:
@@ -35,6 +35,8 @@ void test_nghttp2_hd_inflate_newname_noinc(void);
|
||||
void test_nghttp2_hd_inflate_newname_inc(void);
|
||||
void test_nghttp2_hd_inflate_clearall_inc(void);
|
||||
void test_nghttp2_hd_inflate_zero_length_huffman(void);
|
||||
void test_nghttp2_hd_inflate_expect_table_size_update(void);
|
||||
void test_nghttp2_hd_inflate_unexpected_table_size_update(void);
|
||||
void test_nghttp2_hd_ringbuf_reserve(void);
|
||||
void test_nghttp2_hd_change_table_size(void);
|
||||
void test_nghttp2_hd_deflate_inflate(void);
|
||||
|
||||
Reference in New Issue
Block a user