comparison src/core/ngx_conf_file.h @ 172:1b490fc19afa NGINX_0_3_33

nginx 0.3.33 *) Feature: the "http_503" parameter of the "proxy_next_upstream" or "fastcgi_next_upstream" directives. *) Bugfix: ngx_http_perl_module did not work with inlined in the configuration code, if it was not started with the "sub" word. *) Bugfix: in the "post_action" directive.
author Igor Sysoev <http://sysoev.ru>
date Wed, 15 Mar 2006 00:00:00 +0300
parents 84910468f6de
children 003bd800ec2a
comparison
equal deleted inserted replaced
171:d4717557d48d 172:1b490fc19afa
280 conf = (prev == NGX_CONF_UNSET_SIZE) ? default : prev; \ 280 conf = (prev == NGX_CONF_UNSET_SIZE) ? default : prev; \
281 } 281 }
282 282
283 #define ngx_conf_merge_str_value(conf, prev, default) \ 283 #define ngx_conf_merge_str_value(conf, prev, default) \
284 if (conf.data == NULL) { \ 284 if (conf.data == NULL) { \
285 if (prev.data) { \ 285 if (prev.data) { \
286 conf.len = prev.len; \ 286 conf.len = prev.len; \
287 conf.data = prev.data; \ 287 conf.data = prev.data; \
288 } else { \ 288 } else { \
289 conf.len = sizeof(default) - 1; \ 289 conf.len = sizeof(default) - 1; \
290 conf.data = (u_char *) default; \ 290 conf.data = (u_char *) default; \