Changeset c7670f for server/src/http/ngx_http_core_module.h
- Timestamp:
- 10/30/09 18:13:41 (3 years ago)
- Branches:
- nginx-v0.8
- Parents:
- 178a98
- git-author:
- George Potapov <nephrite@…> (10/30/09 18:13:41)
- git-committer:
- George Potapov <nephrite@…> (10/30/09 18:13:41)
- File:
-
- 1 edited
-
server/src/http/ngx_http_core_module.h (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
server/src/http/ngx_http_core_module.h
r89d9dc rc7670f 44 44 45 45 typedef struct { 46 u_char sockaddr[NGX_SOCKADDRLEN]; 47 socklen_t socklen; 48 49 unsigned set:1; 46 50 unsigned default_server:1; 47 51 unsigned bind:1; … … 66 70 67 71 u_char addr[NGX_SOCKADDR_STRLEN + 1]; 68 } ngx_http_listen_conf_t; 69 70 71 typedef struct { 72 u_char sockaddr[NGX_SOCKADDRLEN]; 73 socklen_t socklen; 74 75 u_char *file_name; 76 ngx_uint_t line; 77 78 ngx_http_listen_conf_t conf; 79 } ngx_http_listen_t; 72 } ngx_http_listen_opt_t; 80 73 81 74 … … 143 136 ngx_hash_keys_arrays_t *variables_keys; 144 137 138 ngx_array_t *ports; 139 145 140 ngx_uint_t try_files; /* unsigned try_files:1 */ 146 141 … … 150 145 151 146 typedef struct { 152 /* array of the ngx_http_listen_t, "listen" directive */153 ngx_array_t listen;154 155 147 /* array of the ngx_http_server_name_t, "server_name" directive */ 156 148 ngx_array_t server_names; … … 173 165 ngx_flag_t underscores_in_headers; 174 166 167 unsigned listen:1; 168 #if (NGX_PCRE) 169 unsigned captures:1; 170 #endif 171 175 172 ngx_http_core_loc_conf_t **named_locations; 176 173 } ngx_http_core_srv_conf_t; … … 182 179 typedef struct { 183 180 /* the default server configuration for this address:port */ 184 ngx_http_core_srv_conf_t * core_srv_conf;181 ngx_http_core_srv_conf_t *default_server; 185 182 186 183 ngx_http_virtual_names_t *virtual_names; … … 223 220 224 221 typedef struct { 225 struct sockaddr *sockaddr; 226 socklen_t socklen; 222 ngx_http_listen_opt_t opt; 227 223 228 224 ngx_hash_t hash; … … 230 226 ngx_hash_wildcard_t *wc_tail; 231 227 232 ngx_array_t names; /* array of ngx_http_server_name_t */233 234 228 #if (NGX_PCRE) 235 229 ngx_uint_t nregex; … … 238 232 239 233 /* the default server configuration for this address:port */ 240 ngx_http_core_srv_conf_t *core_srv_conf; 241 242 unsigned default_server:1; 243 unsigned bind:1; 244 unsigned wildcard:1; 245 #if (NGX_HTTP_SSL) 246 unsigned ssl:1; 247 #endif 248 249 ngx_http_listen_conf_t *listen_conf; 234 ngx_http_core_srv_conf_t *default_server; 235 ngx_array_t servers; /* array of ngx_http_core_srv_conf_t */ 250 236 } ngx_http_conf_addr_t; 251 237 … … 254 240 #if (NGX_PCRE) 255 241 ngx_regex_t *regex; 256 ngx_uint_t captures; /* unsigned captures:1; */ 257 #endif 258 ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */ 242 #endif 243 ngx_http_core_srv_conf_t *server; /* virtual name server conf */ 259 244 ngx_str_t name; 260 245 };
Note: See TracChangeset
for help on using the changeset viewer.
