aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r--src/http/ngx_http.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h
index 0a260049c..6968dee4f 100644
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -96,6 +96,8 @@ struct ngx_http_request_s {
int method;
+ time_t lingering_time;
+
int http_version;
int http_major;
int http_minor;
@@ -111,6 +113,9 @@ struct ngx_http_request_s {
ssize_t client_content_length;
char *discarded_buffer;
+ unsigned keepalive:1;
+ unsigned lingering_close:1;
+
unsigned header_timeout:1;
unsigned process_header:1;