comparison src/core/ngx_connection.h @ 218:05592fd7a436

nginx-0.0.1-2004-01-05-23:55:48 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 05 Jan 2004 20:55:48 +0000
parents f1d0e5f09c1e
children f57597ec5249
comparison
equal deleted inserted replaced
217:c5d1cdcb04ec 218:05592fd7a436
34 time_t post_accept_timeout; /* should be here because 34 time_t post_accept_timeout; /* should be here because
35 of the deferred accept */ 35 of the deferred accept */
36 36
37 unsigned new:1; 37 unsigned new:1;
38 unsigned remain:1; 38 unsigned remain:1;
39 unsigned ignore:1;
39 40
40 unsigned bound:1; /* already bound */ 41 unsigned bound:1; /* already bound */
41 unsigned inherited:1; /* inherited from previous process */ 42 unsigned inherited:1; /* inherited from previous process */
42 unsigned nonblocking_accept:1; 43 unsigned nonblocking_accept:1;
43 unsigned nonblocking:1; 44 unsigned nonblocking:1;
83 84
84 ngx_int_t number; 85 ngx_int_t number;
85 86
86 unsigned pipeline:1; 87 unsigned pipeline:1;
87 unsigned unexpected_eof:1; 88 unsigned unexpected_eof:1;
88 unsigned tcp_nopush:1; 89 signed tcp_nopush:2;
89 #if (HAVE_IOCP) 90 #if (HAVE_IOCP)
90 unsigned accept_context_updated:1; 91 unsigned accept_context_updated:1;
91 #endif 92 #endif
92 }; 93 };
93 94
94 95
96 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle, char **envp);
97 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle);
98 void ngx_close_listening_sockets(ngx_cycle_t *cycle);
99
100
95 extern ngx_os_io_t ngx_io; 101 extern ngx_os_io_t ngx_io;
96 102
97 103
98 #endif /* _NGX_CONNECTION_H_INCLUDED_ */ 104 #endif /* _NGX_CONNECTION_H_INCLUDED_ */