mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 20:53:30 +08:00
Status: the "last_in_chain" flag must be set.
The module always produces only one and obviously the last buffer in chain.
This commit is contained in:
parent
ba4b4991d1
commit
f6650479c3
@ -145,6 +145,7 @@ static ngx_int_t ngx_http_status_handler(ngx_http_request_t *r)
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user