comparison src/http/ngx_http.c @ 408:d6e2b445c1b8

nginx-0.0.10-2004-08-27-19:40:59 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 27 Aug 2004 15:40:59 +0000
parents b32ca005e025
children 4765ded59eaa
comparison
equal deleted inserted replaced
407:35fe251cd231 408:d6e2b445c1b8
255 &cmcf->phases[NGX_HTTP_FIND_CONFIG_PHASE].handlers), 255 &cmcf->phases[NGX_HTTP_FIND_CONFIG_PHASE].handlers),
256 NGX_CONF_ERROR); 256 NGX_CONF_ERROR);
257 *h = ngx_http_find_location_config; 257 *h = ngx_http_find_location_config;
258 258
259 259
260 ngx_init_array(cmcf->phases[NGX_HTTP_MISC_PHASE].handlers,
261 cf->cycle->pool, 10, sizeof(ngx_http_handler_pt),
262 NGX_CONF_ERROR);
263 cmcf->phases[NGX_HTTP_MISC_PHASE].type = NGX_DECLINED;
264
260 ngx_init_array(cmcf->phases[NGX_HTTP_ACCESS_PHASE].handlers, 265 ngx_init_array(cmcf->phases[NGX_HTTP_ACCESS_PHASE].handlers,
261 cf->cycle->pool, 10, sizeof(ngx_http_handler_pt), 266 cf->cycle->pool, 10, sizeof(ngx_http_handler_pt),
262 NGX_CONF_ERROR); 267 NGX_CONF_ERROR);
263 cmcf->phases[NGX_HTTP_ACCESS_PHASE].type = NGX_DECLINED; 268 cmcf->phases[NGX_HTTP_ACCESS_PHASE].type = NGX_DECLINED;
264 269