Mercurial > hg > nginx-quic
changeset 5243:ee739104d164
Status: the "last_in_chain" flag must be set.
The module always produces only one and obviously the last buffer in chain.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 05 Jun 2013 16:22:40 +0400 |
parents | 5776804fff04 |
children | 593d344999f5 |
files | src/http/modules/ngx_http_stub_status_module.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_stub_status_module.c +++ b/src/http/modules/ngx_http_stub_status_module.c @@ -145,6 +145,7 @@ static ngx_int_t ngx_http_status_handler r->headers_out.content_length_n = b->last - b->pos; b->last_buf = (r == r->main) ? 1 : 0; + b->last_in_chain = 1; rc = ngx_http_send_header(r);