diff options
author | Roman Arutyunyan <arut@nginx.com> | 2021-08-04 17:35:11 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2021-08-04 17:35:11 +0300 |
commit | af83b3c32c26646f2b3bf1b8f097eb175f6b5bb5 (patch) | |
tree | 4406c0272fcee5700e5f68026fc60d1572781c75 /src/http/v3/ngx_http_v3_module.c | |
parent | dab9163a95cb9c1c00ee9a3644c58474528b0f2b (diff) | |
download | nginx-af83b3c32c26646f2b3bf1b8f097eb175f6b5bb5.tar.gz nginx-af83b3c32c26646f2b3bf1b8f097eb175f6b5bb5.zip |
HTTP/3: replaced macros with values.
Diffstat (limited to 'src/http/v3/ngx_http_v3_module.c')
-rw-r--r-- | src/http/v3/ngx_http_v3_module.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/http/v3/ngx_http_v3_module.c b/src/http/v3/ngx_http_v3_module.c index 873ebb2f3..4b59b097c 100644 --- a/src/http/v3/ngx_http_v3_module.c +++ b/src/http/v3/ngx_http_v3_module.c @@ -124,20 +124,16 @@ ngx_http_v3_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) ngx_http_v3_srv_conf_t *conf = child; ngx_conf_merge_size_value(conf->max_table_capacity, - prev->max_table_capacity, - NGX_HTTP_V3_DEFAULT_MAX_TABLE_CAPACITY); + prev->max_table_capacity, 16384); ngx_conf_merge_uint_value(conf->max_blocked_streams, - prev->max_blocked_streams, - NGX_HTTP_V3_DEFAULT_MAX_BLOCKED_STREAMS); + prev->max_blocked_streams, 16); ngx_conf_merge_uint_value(conf->max_concurrent_pushes, - prev->max_concurrent_pushes, - NGX_HTTP_V3_DEFAULT_MAX_CONCURRENT_PUSHES); + prev->max_concurrent_pushes, 10); ngx_conf_merge_uint_value(conf->max_uni_streams, - prev->max_uni_streams, - NGX_HTTP_V3_DEFAULT_MAX_UNI_STREAMS); + prev->max_uni_streams, 3); return NGX_CONF_OK; } |