]> git.kaiwu.me - nginx.git/commit
HTTP/3: fixed parsing encoder insertions with empty header value.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 1 Jun 2021 08:41:38 +0000 (11:41 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 1 Jun 2021 08:41:38 +0000 (11:41 +0300)
commit1f85c660cb3e94b60a0f2ec8495f72a43cddb378
tree33b79b07398cae3ce56fde0645f770a69503c5c7
parente8a76252699339b2fa615ec0e3f01ae1afbb36d8
HTTP/3: fixed parsing encoder insertions with empty header value.

When starting processing a new encoder instruction, the header state is not
memzero'ed because generally it's burdensome.  If the header value is empty,
this resulted in inserting a stale value left from the previous instruction.

Based on a patch by Zhiyong Sun.
src/http/v3/ngx_http_v3_parse.c