summaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-03-19 13:20:15 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-03-19 13:20:15 +0000
commit4ddeff4956a93efce34105588153f591f3fcfcbc (patch)
tree63e5d49a946d447ca0783647d939fe9bdf173b9e /src/core
parente1f43ce292b0ca463748e13b067ea36bbe8ca9bc (diff)
downloadnginx-4ddeff4956a93efce34105588153f591f3fcfcbc.tar.gz
nginx-4ddeff4956a93efce34105588153f591f3fcfcbc.tar.bz2
close keep-alive connections in the shuting down processes
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 1694dd451..a2ae690f5 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -143,6 +143,9 @@ struct ngx_connection_s {
unsigned error:1;
unsigned destroyed:1;
+ unsigned idle:1;
+ unsigned close:1;
+
unsigned sendfile:1;
unsigned sndlowat:1;
unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */