HTTP/3: finalize chunked response body chain with NULL.

Unfinalized chain could result in segfault.  The problem was introduced in
ef83990f0e25.

Patch by Andrey Kolyshkin.
This commit is contained in:
Roman Arutyunyan 2020-11-17 21:12:36 +00:00
parent 5a9a897d7b
commit 49f0b0d99d

View File

@ -216,6 +216,9 @@ ngx_http_chunked_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
cl->buf->last_buf = 0;
*ll = tl;
} else {
*ll = NULL;
}
} else