aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-09-30 17:14:42 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-09-30 17:14:42 +0300
commitb6b2a45fb6824185889373cc0af070c4a90c1b4a (patch)
treebc64d7704e0d1ed8758f475b76639e2b878c7f97 /src/http/ngx_http_request.h
parent3c31d3f42129689c5d8837d94fad0e44db9129a8 (diff)
downloadnginx-b6b2a45fb6824185889373cc0af070c4a90c1b4a.tar.gz
nginx-b6b2a45fb6824185889373cc0af070c4a90c1b4a.zip
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.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h1
1 files changed, 1 insertions, 0 deletions
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;