summaryrefslogtreecommitdiffhomepage
path: root/src/http/v3/ngx_http_v3_parse.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_parse.c
parent47ed87f85548e329bbfa76dfc8749ac0f21e55ca (diff)
downloadnginx-f2368597c2b2b0263e5472c2002a52e7594094f0.tar.gz
nginx-f2368597c2b2b0263e5472c2002a52e7594094f0.tar.bz2
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_parse.c')
-rw-r--r--src/http/v3/ngx_http_v3_parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/v3/ngx_http_v3_parse.c b/src/http/v3/ngx_http_v3_parse.c
index f9e26a4f5..8a68fddd8 100644
--- a/src/http/v3/ngx_http_v3_parse.c
+++ b/src/http/v3/ngx_http_v3_parse.c
@@ -426,7 +426,7 @@ ngx_http_v3_parse_literal(ngx_connection_t *c, ngx_http_v3_parse_literal_t *st,
u_char ch)
{
ngx_uint_t n;
- ngx_http_v3_srv_conf_t *v3cf;
+ ngx_http_v3_srv_conf_t *h3scf;
enum {
sw_start = 0,
sw_value
@@ -442,9 +442,9 @@ ngx_http_v3_parse_literal(ngx_connection_t *c, ngx_http_v3_parse_literal_t *st,
n = st->length;
- v3cf = ngx_http_v3_get_module_srv_conf(c, ngx_http_v3_module);
+ h3scf = ngx_http_v3_get_module_srv_conf(c, ngx_http_v3_module);
- if (n > v3cf->max_field_size) {
+ if (n > h3scf->max_field_size) {
ngx_log_error(NGX_LOG_INFO, c->log, 0,
"client exceeded http3_max_field_size limit");
return NGX_HTTP_V3_ERR_EXCESSIVE_LOAD;