Imported Upstream version 1.41.0
[platform/upstream/nghttp2.git] / doc / nghttp2_option_set_max_settings.rst
1
2 nghttp2_option_set_max_settings
3 ===============================
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: void nghttp2_option_set_max_settings(nghttp2_option *option, size_t val)
11
12     
13     This function sets the maximum number of SETTINGS entries per
14     SETTINGS frame that will be accepted. If more than those entries
15     are received, the peer is considered to be misbehaving and session
16     will be closed. The default value is 32.