aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_module.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-07-23 13:12:01 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-07-23 13:12:01 +0300
commitf2368597c2b2b0263e5472c2002a52e7594094f0 (patch)
tree7ab244edb45b4f457d4b84bed9dbf3e52680d69c /src/http/v3/ngx_http_v3_module.c
parent47ed87f85548e329bbfa76dfc8749ac0f21e55ca (diff)
downloadnginx-f2368597c2b2b0263e5472c2002a52e7594094f0.tar.gz
nginx-f2368597c2b2b0263e5472c2002a52e7594094f0.zip
HTTP/3: renamed server configuration variables from v3cf to h3scf.
Now they are similar to HTTP/2 where they are called h2scf.
Diffstat (limited to 'src/http/v3/ngx_http_v3_module.c')
-rw-r--r--src/http/v3/ngx_http_v3_module.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/http/v3/ngx_http_v3_module.c b/src/http/v3/ngx_http_v3_module.c
index 58d75f6f7..00169ef4e 100644
--- a/src/http/v3/ngx_http_v3_module.c
+++ b/src/http/v3/ngx_http_v3_module.c
@@ -127,18 +127,18 @@ ngx_http_v3_add_variables(ngx_conf_t *cf)
static void *
ngx_http_v3_create_srv_conf(ngx_conf_t *cf)
{
- ngx_http_v3_srv_conf_t *v3cf;
+ ngx_http_v3_srv_conf_t *h3scf;
- v3cf = ngx_pcalloc(cf->pool, sizeof(ngx_http_v3_srv_conf_t));
- if (v3cf == NULL) {
+ h3scf = ngx_pcalloc(cf->pool, sizeof(ngx_http_v3_srv_conf_t));
+ if (h3scf == NULL) {
return NULL;
}
- v3cf->max_field_size = NGX_CONF_UNSET_SIZE;
- v3cf->max_table_capacity = NGX_CONF_UNSET_SIZE;
- v3cf->max_blocked_streams = NGX_CONF_UNSET_UINT;
+ h3scf->max_field_size = NGX_CONF_UNSET_SIZE;
+ h3scf->max_table_capacity = NGX_CONF_UNSET_SIZE;
+ h3scf->max_blocked_streams = NGX_CONF_UNSET_UINT;
- return v3cf;
+ return h3scf;
}