Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.h @ 91:637625a2acdb
nginx-0.0.1-2003-05-19-20:39:14 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 19 May 2003 16:39:14 +0000 |
parents | 37530da31268 |
children | 19cc647ecd91 |
comparison
equal
deleted
inserted
replaced
90:37530da31268 | 91:637625a2acdb |
---|---|
16 int line; | 16 int line; |
17 } ngx_http_listen_t; | 17 } ngx_http_listen_t; |
18 | 18 |
19 | 19 |
20 typedef struct { | 20 typedef struct { |
21 int post_accept_timeout; | |
22 int connection_pool_size; | |
21 int request_pool_size; | 23 int request_pool_size; |
24 int client_header_timeout; | |
22 int client_header_buffer_size; | 25 int client_header_buffer_size; |
26 int large_client_header; | |
27 int url_in_error_log; | |
28 | |
29 ngx_array_t servers; /* array of ngx_http_core_srv_conf_t */ | |
23 } ngx_http_core_main_conf_t; | 30 } ngx_http_core_main_conf_t; |
24 | 31 |
25 | 32 |
26 typedef struct { | 33 typedef struct { |
27 ngx_array_t locations; /* array of ngx_http_core_loc_conf_t */ | 34 ngx_array_t locations; /* array of ngx_http_core_loc_conf_t, |
35 used in the translation handler | |
36 and in the merge phase */ | |
28 | 37 |
29 ngx_array_t listen; /* 'listen', array of ngx_http_listen_t */ | 38 ngx_array_t listen; /* 'listen', array of ngx_http_listen_t */ |
30 ngx_array_t server_names; /* 'server_name', | 39 ngx_array_t server_names; /* 'server_name', |
31 array of ngx_http_server_name_t */ | 40 array of ngx_http_server_name_t */ |
41 | |
32 ngx_http_conf_ctx_t *ctx; /* server ctx */ | 42 ngx_http_conf_ctx_t *ctx; /* server ctx */ |
33 } ngx_http_core_srv_conf_t; | 43 } ngx_http_core_srv_conf_t; |
34 | 44 |
35 | 45 |
36 /* list of structures to find core_srv_conf quickly at run time */ | 46 /* list of structures to find core_srv_conf quickly at run time */ |
76 } ngx_http_type_t; | 86 } ngx_http_type_t; |
77 | 87 |
78 | 88 |
79 typedef struct { | 89 typedef struct { |
80 ngx_str_t name; /* location name */ | 90 ngx_str_t name; /* location name */ |
81 void **loc_conf; /* pointer to modules loc_conf, | 91 void **loc_conf ; /* pointer to the modules' loc_conf */ |
82 used in translation handler */ | |
83 | 92 |
84 int (*handler) (ngx_http_request_t *r); | 93 int (*handler) (ngx_http_request_t *r); |
85 | 94 |
86 ngx_str_t doc_root; /* root */ | 95 ngx_str_t doc_root; /* root */ |
87 | 96 |