diff src/http/v3/ngx_http_v3_module.c @ 8492:65c1fc5fae15 quic

HTTP/3: renamed server configuration variables from v3cf to h3scf. Now they are similar to HTTP/2 where they are called h2scf.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 23 Jul 2020 13:12:01 +0300
parents 0d2b2664b41c
children e533a352d118
line wrap: on
line diff
--- 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;
 }