2 nghttp2_option_set_max_send_header_block_length
3 ===============================================
8 *#include <nghttp2/nghttp2.h>*
10 .. function:: void nghttp2_option_set_max_send_header_block_length(nghttp2_option *option, size_t val)
13 This option sets the maximum length of header block (a set of
14 header fields per one HEADERS frame) to send. The length of a
15 given set of header fields is calculated using
16 `nghttp2_hd_deflate_bound()`. The default value is 64KiB. If
17 application attempts to send header fields larger than this limit,
18 the transmission of the frame fails with error code
19 :macro:`nghttp2_error.NGHTTP2_ERR_FRAME_SIZE_ERROR`.