aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/v3/ngx_http_v3_parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/v3/ngx_http_v3_parse.c b/src/http/v3/ngx_http_v3_parse.c
index fcb39b209..40366e665 100644
--- a/src/http/v3/ngx_http_v3_parse.c
+++ b/src/http/v3/ngx_http_v3_parse.c
@@ -1366,6 +1366,7 @@ ngx_http_v3_parse_header_inr(ngx_connection_t *c,
st->literal.length = st->pint.value;
if (st->literal.length == 0) {
+ st->value.len = 0;
goto done;
}
@@ -1470,6 +1471,7 @@ ngx_http_v3_parse_header_iwnr(ngx_connection_t *c,
st->literal.length = st->pint.value;
if (st->literal.length == 0) {
+ st->value.len = 0;
goto done;
}