Mercurial > hg > nginx
comparison src/core/nginx.c @ 92:19cc647ecd91
nginx-0.0.1-2003-05-20-19:37:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 20 May 2003 15:37:55 +0000 |
parents | 637625a2acdb |
children | a23d010f356d |
comparison
equal
deleted
inserted
replaced
91:637625a2acdb | 92:19cc647ecd91 |
---|---|
4 #include <ngx_config.h> | 4 #include <ngx_config.h> |
5 | 5 |
6 #include <ngx_core.h> | 6 #include <ngx_core.h> |
7 #include <ngx_connection.h> | 7 #include <ngx_connection.h> |
8 #include <ngx_os_init.h> | 8 #include <ngx_os_init.h> |
9 #include <ngx_string.h> | |
10 #include <ngx_errno.h> | |
11 #include <ngx_time.h> | |
12 #include <ngx_log.h> | |
13 #include <ngx_alloc.h> | |
14 #include <ngx_array.h> | |
15 #include <ngx_socket.h> | |
16 #include <ngx_server.h> | 9 #include <ngx_server.h> |
17 #include <ngx_listen.h> | 10 #include <ngx_listen.h> |
18 #include <ngx_conf_file.h> | 11 #include <ngx_conf_file.h> |
19 | 12 |
20 /* STUB */ | 13 /* STUB */ |
53 { | 46 { |
54 int i; | 47 int i; |
55 ngx_str_t conf_file; | 48 ngx_str_t conf_file; |
56 ngx_conf_t conf; | 49 ngx_conf_t conf; |
57 | 50 |
58 /* STUB */ | 51 ngx_max_sockets = -1; |
59 ngx_log.log_level = NGX_LOG_DEBUG; | 52 |
53 ngx_log.fd = STDERR_FILENO; | |
54 ngx_log.log_level = NGX_LOG_INFO; | |
55 | |
56 /* STUB */ ngx_log.log_level = NGX_LOG_DEBUG; | |
60 | 57 |
61 if (ngx_os_init(&ngx_log) == NGX_ERROR) { | 58 if (ngx_os_init(&ngx_log) == NGX_ERROR) { |
62 return 1; | 59 return 1; |
63 } | 60 } |
64 | 61 |