2 nghttp2_hd_inflate_change_table_size
3 ====================================
8 *#include <nghttp2/nghttp2.h>*
10 .. function:: int nghttp2_hd_inflate_change_table_size(nghttp2_hd_inflater *inflater, size_t settings_max_dynamic_table_size)
13 Changes header table size in the *inflater*. This may trigger
14 eviction in the dynamic table.
16 The *settings_max_dynamic_table_size* should be the value
17 transmitted in SETTINGS_HEADER_TABLE_SIZE.
19 This function must not be called while header block is being
20 inflated. In other words, this function must be called after
21 initialization of *inflater*, but before calling
22 `nghttp2_hd_inflate_hd2()`, or after
23 `nghttp2_hd_inflate_end_headers()`. Otherwise,
24 `NGHTTP2_ERR_INVALID_STATE` was returned.
26 This function returns 0 if it succeeds, or one of the following
29 :macro:`NGHTTP2_ERR_NOMEM`
31 :macro:`NGHTTP2_ERR_INVALID_STATE`
32 The function is called while header block is being inflated.
33 Probably, application missed to call
34 `nghttp2_hd_inflate_end_headers()`.