aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index cdd72bb92..f275f9156 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -21,6 +21,8 @@ struct ngx_connection_s {
ngx_event_t *write;
#endif
+ off_t sent;
+
ngx_log_t *log;
int (*handler)(ngx_connection_t *c);
ngx_server_t *server;
@@ -35,6 +37,8 @@ struct ngx_connection_s {
size_t addr_textlen;
unsigned int post_accept_timeout;
+
+ unsigned unexpected_eof:1;
};