comparison src/http/ngx_http_config.h @ 501:d4ea69372b94 release-0.1.25

nginx-0.1.25-RELEASE import *) Bugfix: nginx did run on Linux parisc. *) Feature: nginx now does not start under FreeBSD if the sysctl kern.ipc.somaxconn value is too big. *) Bugfix: if a request was internally redirected by the ngx_http_index_module module to the ngx_http_proxy_module or ngx_http_fastcgi_module modules, then the index file was not closed after request completion. *) Feature: the "proxy_pass" can be used in location with regular expression. *) Feature: the ngx_http_rewrite_filter_module module supports the condition like "if ($HTTP_USER_AGENT ~ MSIE)". *) Bugfix: nginx started too slow if the large number of addresses and text values were used in the "geo" directive. *) Change: a variable name must be declared as "$name" in the "geo" directive. The previous variant without "$" is still supported, but will be removed soon. *) Feature: the "%{VARIABLE}v" logging parameter. *) Feature: the "set $name value" directive. *) Bugfix: gcc 4.0 compatibility. *) Feature: the --with-openssl-opt=OPTIONS autoconfiguration directive.
author Igor Sysoev <igor@sysoev.ru>
date Sat, 19 Mar 2005 12:38:37 +0000
parents 64d9afb209da
children 9b8c906f6e63
comparison
equal deleted inserted replaced
500:9a0f304470f5 501:d4ea69372b94
57 * ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf() 57 * ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf()
58 * must not be used at the merge phase because cf->ctx points to http{}'s ctx 58 * must not be used at the merge phase because cf->ctx points to http{}'s ctx
59 */ 59 */
60 60
61 #define ngx_http_conf_get_module_main_conf(cf, module) \ 61 #define ngx_http_conf_get_module_main_conf(cf, module) \
62 ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] 62 ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index]
63 #define ngx_http_conf_get_module_srv_conf(cf, module) \ 63 #define ngx_http_conf_get_module_srv_conf(cf, module) \
64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index] 64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
65 #define ngx_http_conf_get_module_loc_conf(cf, module) \ 65 #define ngx_http_conf_get_module_loc_conf(cf, module) \
66 ((ngx_http_conf_ctx_t *) cf->ctx)->loc_conf[module.ctx_index] 66 ((ngx_http_conf_ctx_t *) cf->ctx)->loc_conf[module.ctx_index]
67 67
68 #define ngx_http_cycle_get_module_main_conf(cycle, module) \ 68 #define ngx_http_cycle_get_module_main_conf(cycle, module) \
69 ((ngx_http_conf_ctx_t *) \ 69 ((ngx_http_conf_ctx_t *) \
70 cycle->conf_ctx[ngx_http_module.index])->main_conf[module.ctx_index] 70 cycle->conf_ctx[ngx_http_module.index])->main_conf[module.ctx_index]
71 71
72 72
73 73
74 #endif /* _NGX_HTTP_CONFIG_H_INCLUDED_ */ 74 #endif /* _NGX_HTTP_CONFIG_H_INCLUDED_ */