Lines Matching refs:option

39 void nghttp2_option_del(nghttp2_option *option) { free(option); }
41 void nghttp2_option_set_no_auto_window_update(nghttp2_option *option, int val) {
42 option->opt_set_mask |= NGHTTP2_OPT_NO_AUTO_WINDOW_UPDATE;
43 option->no_auto_window_update = val;
46 void nghttp2_option_set_peer_max_concurrent_streams(nghttp2_option *option,
48 option->opt_set_mask |= NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS;
49 option->peer_max_concurrent_streams = val;
52 void nghttp2_option_set_no_recv_client_magic(nghttp2_option *option, int val) {
53 option->opt_set_mask |= NGHTTP2_OPT_NO_RECV_CLIENT_MAGIC;
54 option->no_recv_client_magic = val;
57 void nghttp2_option_set_no_http_messaging(nghttp2_option *option, int val) {
58 option->opt_set_mask |= NGHTTP2_OPT_NO_HTTP_MESSAGING;
59 option->no_http_messaging = val;
62 void nghttp2_option_set_max_reserved_remote_streams(nghttp2_option *option,
64 option->opt_set_mask |= NGHTTP2_OPT_MAX_RESERVED_REMOTE_STREAMS;
65 option->max_reserved_remote_streams = val;
72 void nghttp2_option_set_user_recv_extension_type(nghttp2_option *option,
78 option->opt_set_mask |= NGHTTP2_OPT_USER_RECV_EXT_TYPES;
79 set_ext_type(option->user_recv_ext_types, type);
82 void nghttp2_option_set_builtin_recv_extension_type(nghttp2_option *option,
86 option->opt_set_mask |= NGHTTP2_OPT_BUILTIN_RECV_EXT_TYPES;
87 option->builtin_recv_ext_types |= NGHTTP2_TYPEMASK_ALTSVC;
90 option->opt_set_mask |= NGHTTP2_OPT_BUILTIN_RECV_EXT_TYPES;
91 option->builtin_recv_ext_types |= NGHTTP2_TYPEMASK_ORIGIN;
94 option->opt_set_mask |= NGHTTP2_OPT_BUILTIN_RECV_EXT_TYPES;
95 option->builtin_recv_ext_types |= NGHTTP2_TYPEMASK_PRIORITY_UPDATE;
102 void nghttp2_option_set_no_auto_ping_ack(nghttp2_option *option, int val) {
103 option->opt_set_mask |= NGHTTP2_OPT_NO_AUTO_PING_ACK;
104 option->no_auto_ping_ack = val;
107 void nghttp2_option_set_max_send_header_block_length(nghttp2_option *option,
109 option->opt_set_mask |= NGHTTP2_OPT_MAX_SEND_HEADER_BLOCK_LENGTH;
110 option->max_send_header_block_length = val;
113 void nghttp2_option_set_max_deflate_dynamic_table_size(nghttp2_option *option,
115 option->opt_set_mask |= NGHTTP2_OPT_MAX_DEFLATE_DYNAMIC_TABLE_SIZE;
116 option->max_deflate_dynamic_table_size = val;
119 void nghttp2_option_set_no_closed_streams(nghttp2_option *option, int val) {
120 option->opt_set_mask |= NGHTTP2_OPT_NO_CLOSED_STREAMS;
121 option->no_closed_streams = val;
124 void nghttp2_option_set_max_outbound_ack(nghttp2_option *option, size_t val) {
125 option->opt_set_mask |= NGHTTP2_OPT_MAX_OUTBOUND_ACK;
126 option->max_outbound_ack = val;
129 void nghttp2_option_set_max_settings(nghttp2_option *option, size_t val) {
130 option->opt_set_mask |= NGHTTP2_OPT_MAX_SETTINGS;
131 option->max_settings = val;
135 nghttp2_option *option, int val) {
136 option->opt_set_mask |= NGHTTP2_OPT_SERVER_FALLBACK_RFC7540_PRIORITIES;
137 option->server_fallback_rfc7540_priorities = val;
141 nghttp2_option *option, int val) {
142 option->opt_set_mask |=
144 option->no_rfc9113_leading_and_trailing_ws_validation = val;
147 void nghttp2_option_set_stream_reset_rate_limit(nghttp2_option *option,
149 option->opt_set_mask |= NGHTTP2_OPT_STREAM_RESET_RATE_LIMIT;
150 option->stream_reset_burst = burst;
151 option->stream_reset_rate = rate;