comparison src/http/ngx_http_config.h @ 140:55a211e5eeb7 NGINX_0_3_17

nginx 0.3.17 *) Change: now on Linux configure checks the presence of epoll and sendfile64() in kernel. *) Feature: the "map" directive supports domain names in the ".domain.tld" form. *) Bugfix: the timeouts were not used in SSL handshake; bug appeared in 0.2.4. *) Bugfix: in the HTTPS protocol in the "proxy_pass" directive. *) Bugfix: when the HTTPS protocol was used in the "proxy_pass" directive the port 80 was used by default.
author Igor Sysoev <http://sysoev.ru>
date Sun, 18 Dec 2005 00:00:00 +0300
parents 8ad297c88dcb
children 84910468f6de
comparison
equal deleted inserted replaced
139:9cee8bc94578 140:55a211e5eeb7
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 #include <ngx_http.h> 13 #include <ngx_http.h>
14 14
15 15
16 typedef struct { 16 typedef struct {
17 void **main_conf; 17 void **main_conf;
18 void **srv_conf; 18 void **srv_conf;
19 void **loc_conf; 19 void **loc_conf;
20 } ngx_http_conf_ctx_t; 20 } ngx_http_conf_ctx_t;
21 21
22 22
23 typedef struct { 23 typedef struct {
24 ngx_int_t (*preconfiguration)(ngx_conf_t *cf); 24 ngx_int_t (*preconfiguration)(ngx_conf_t *cf);
70 #define ngx_http_cycle_get_module_main_conf(cycle, module) \ 70 #define ngx_http_cycle_get_module_main_conf(cycle, module) \
71 ((ngx_http_conf_ctx_t *) \ 71 ((ngx_http_conf_ctx_t *) \
72 cycle->conf_ctx[ngx_http_module.index])->main_conf[module.ctx_index] 72 cycle->conf_ctx[ngx_http_module.index])->main_conf[module.ctx_index]
73 73
74 74
75 #define NGX_HTTP_CONFIG_HASH 10007
76
77 #define NGX_HTTP_WILDCARD_HASH 1
78
79 typedef struct {
80 ngx_pool_t *pool;
81 ngx_pool_t *temp_pool;
82
83 ngx_array_t keys;
84 ngx_array_t *keys_hash;
85
86 ngx_array_t dns_wildcards;
87 ngx_array_t *dns_hash;
88 } ngx_http_hash_conf_t;
89
90
91 ngx_int_t ngx_http_config_add_hash(ngx_http_hash_conf_t *h, ngx_str_t *key,
92 void *value, ngx_uint_t flags);
93
94
75 95
76 #endif /* _NGX_HTTP_CONFIG_H_INCLUDED_ */ 96 #endif /* _NGX_HTTP_CONFIG_H_INCLUDED_ */