Imported Upstream version 1.0.0
[platform/upstream/nghttp2.git] / doc / nghttp2_hd_inflate_change_table_size.rst
1
2 nghttp2_hd_inflate_change_table_size
3 ====================================
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: int nghttp2_hd_inflate_change_table_size(nghttp2_hd_inflater *inflater, size_t settings_hd_table_bufsize_max)
11
12     
13     Changes header table size in the *inflater*.  This may trigger
14     eviction in the dynamic table.
15     
16     The *settings_hd_table_bufsize_max* should be the value transmitted
17     in SETTINGS_HEADER_TABLE_SIZE.
18     
19     This function returns 0 if it succeeds, or one of the following
20     negative error codes:
21     
22     :macro:`NGHTTP2_ERR_NOMEM`
23         Out of memory.