diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-01-05 20:55:48 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-01-05 20:55:48 +0000 |
commit | 3c3ca1735815a4e495922b50b01a258016c93d4b (patch) | |
tree | 55ab881e478c8ead90652850135d3f083a7e9772 /src/core/ngx_connection.h | |
parent | fa5fea18f7b0f6d024d5a814d34c778b6792abdb (diff) | |
download | nginx-3c3ca1735815a4e495922b50b01a258016c93d4b.tar.gz nginx-3c3ca1735815a4e495922b50b01a258016c93d4b.zip |
nginx-0.0.1-2004-01-05-23:55:48 import
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r-- | src/core/ngx_connection.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index adb47911f..251b5c504 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -36,6 +36,7 @@ typedef struct { unsigned new:1; unsigned remain:1; + unsigned ignore:1; unsigned bound:1; /* already bound */ unsigned inherited:1; /* inherited from previous process */ @@ -85,13 +86,18 @@ struct ngx_connection_s { unsigned pipeline:1; unsigned unexpected_eof:1; - unsigned tcp_nopush:1; + signed tcp_nopush:2; #if (HAVE_IOCP) unsigned accept_context_updated:1; #endif }; +ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle, char **envp); +ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); +void ngx_close_listening_sockets(ngx_cycle_t *cycle); + + extern ngx_os_io_t ngx_io; |