From b6b2a45fb6824185889373cc0af070c4a90c1b4a Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 30 Sep 2021 17:14:42 +0300 Subject: Added r->response_sent flag. The flag indicates that the entire response was sent to the socket up to the last_buf flag. The flag is only usable for protocol implementations that call ngx_http_write_filter() from header filter, such as HTTP/1.x and HTTP/3. --- src/http/ngx_http_request.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/http/ngx_http_request.h') diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index aee9109c3..a19e975b2 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -547,6 +547,7 @@ struct ngx_http_request_s { unsigned request_complete:1; unsigned request_output:1; unsigned header_sent:1; + unsigned response_sent:1; unsigned expect_tested:1; unsigned root_tested:1; unsigned done:1; -- cgit