comparison src/http/modules/ngx_http_chunked_filter_module.c @ 8648:b80d9179ba2a quic

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.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 17 Nov 2020 21:12:36 +0000
parents ef83990f0e25
children 1efee5e4194c
comparison
equal deleted inserted replaced
8647:507da0d3b070 8648:b80d9179ba2a
214 } 214 }
215 215
216 cl->buf->last_buf = 0; 216 cl->buf->last_buf = 0;
217 217
218 *ll = tl; 218 *ll = tl;
219
220 } else {
221 *ll = NULL;
219 } 222 }
220 223
221 } else 224 } else
222 #endif 225 #endif
223 226