2 nghttp2_hd_deflate_change_table_size
3 ====================================
8 *#include <nghttp2/nghttp2.h>*
10 .. function:: int nghttp2_hd_deflate_change_table_size(nghttp2_hd_deflater *deflater, size_t settings_max_dynamic_table_size)
13 Changes header table size of the *deflater* to
14 *settings_max_dynamic_table_size* bytes. This may trigger eviction
17 The *settings_max_dynamic_table_size* should be the value received
18 in SETTINGS_HEADER_TABLE_SIZE.
20 The deflater never uses more memory than
21 ``max_deflate_dynamic_table_size`` bytes specified in
22 `nghttp2_hd_deflate_new()`. Therefore, if
23 *settings_max_dynamic_table_size* >
24 ``max_deflate_dynamic_table_size``, resulting maximum table size
25 becomes ``max_deflate_dynamic_table_size``.
27 This function returns 0 if it succeeds, or one of the following
30 :macro:`nghttp2_error.NGHTTP2_ERR_NOMEM`