Mercurial > hg > nginx-quic
diff src/core/nginx.c @ 26:53cb81681040
nginx-0.0.1-2002-12-15-09:25:09 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 15 Dec 2002 06:25:09 +0000 |
parents | 77c7629a2627 |
children | d45effe5854c |
line wrap: on
line diff
--- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -32,6 +32,8 @@ ngx_log_t ngx_log; ngx_pool_t *ngx_pool; +int ngx_connection_counter; + ngx_array_t *ngx_listening_sockets; @@ -43,7 +45,9 @@ int main(int argc, char *const *argv) ngx_pool = ngx_create_pool(16 * 1024, &ngx_log); /* */ +#if !(WIN32) ngx_set_signals(&ngx_log); +#endif ngx_init_sockets(&ngx_log); @@ -73,6 +77,7 @@ int main(int argc, char *const *argv) return 0; } +#if !(WIN32) static void ngx_set_signals(ngx_log_t *log) { struct sigaction sa; @@ -86,6 +91,7 @@ static void ngx_set_signals(ngx_log_t *l exit(1); } } +#endif static void ngx_open_listening_sockets(ngx_log_t *log) {