Mercurial > hg > nginx
comparison src/core/nginx.c @ 195:8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Nov 2003 20:44:56 +0000 |
parents | 2357fa41738a |
children | 267ea1d98683 |
comparison
equal
deleted
inserted
replaced
194:2357fa41738a | 195:8dee38ea9117 |
---|---|
56 volatile ngx_cycle_t *ngx_cycle; | 56 volatile ngx_cycle_t *ngx_cycle; |
57 ngx_array_t ngx_old_cycles; | 57 ngx_array_t ngx_old_cycles; |
58 | 58 |
59 static ngx_pool_t *ngx_temp_pool; | 59 static ngx_pool_t *ngx_temp_pool; |
60 static ngx_event_t ngx_cleaner_event; | 60 static ngx_event_t ngx_cleaner_event; |
61 | |
61 | 62 |
62 /* STUB NAME */ | 63 /* STUB NAME */ |
63 static ngx_connection_t dumb; | 64 static ngx_connection_t dumb; |
64 | 65 |
65 u_int ngx_connection_counter; | 66 u_int ngx_connection_counter; |
89 = "J"; | 90 = "J"; |
90 #endif | 91 #endif |
91 | 92 |
92 /* TODO */ ngx_max_sockets = -1; | 93 /* TODO */ ngx_max_sockets = -1; |
93 | 94 |
94 ngx_init_time(); | 95 ngx_time_init(); |
96 ngx_regex_init(); | |
95 | 97 |
96 log = ngx_log_init_errlog(); | 98 log = ngx_log_init_errlog(); |
97 | 99 |
98 if (ngx_os_init(log) == NGX_ERROR) { | 100 if (ngx_os_init(log) == NGX_ERROR) { |
99 return 1; | 101 return 1; |