comparison src/http/v3/ngx_http_v3_module.c @ 8829:4f922f611135 quic

HTTP/3: replaced macros with values.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 04 Aug 2021 17:35:11 +0300
parents 054f9be0aaf9
children 33226ac61076
comparison
equal deleted inserted replaced
8828:a9f6540e61da 8829:4f922f611135
122 { 122 {
123 ngx_http_v3_srv_conf_t *prev = parent; 123 ngx_http_v3_srv_conf_t *prev = parent;
124 ngx_http_v3_srv_conf_t *conf = child; 124 ngx_http_v3_srv_conf_t *conf = child;
125 125
126 ngx_conf_merge_size_value(conf->max_table_capacity, 126 ngx_conf_merge_size_value(conf->max_table_capacity,
127 prev->max_table_capacity, 127 prev->max_table_capacity, 16384);
128 NGX_HTTP_V3_DEFAULT_MAX_TABLE_CAPACITY);
129 128
130 ngx_conf_merge_uint_value(conf->max_blocked_streams, 129 ngx_conf_merge_uint_value(conf->max_blocked_streams,
131 prev->max_blocked_streams, 130 prev->max_blocked_streams, 16);
132 NGX_HTTP_V3_DEFAULT_MAX_BLOCKED_STREAMS);
133 131
134 ngx_conf_merge_uint_value(conf->max_concurrent_pushes, 132 ngx_conf_merge_uint_value(conf->max_concurrent_pushes,
135 prev->max_concurrent_pushes, 133 prev->max_concurrent_pushes, 10);
136 NGX_HTTP_V3_DEFAULT_MAX_CONCURRENT_PUSHES);
137 134
138 ngx_conf_merge_uint_value(conf->max_uni_streams, 135 ngx_conf_merge_uint_value(conf->max_uni_streams,
139 prev->max_uni_streams, 136 prev->max_uni_streams, 3);
140 NGX_HTTP_V3_DEFAULT_MAX_UNI_STREAMS);
141 137
142 return NGX_CONF_OK; 138 return NGX_CONF_OK;
143 } 139 }
144 140
145 141