comparison src/http/ngx_http.c @ 411:4765ded59eaa

nginx-0.0.10-2004-08-30-23:24:51 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 30 Aug 2004 19:24:51 +0000
parents d6e2b445c1b8
children b9bd635011de
comparison
equal deleted inserted replaced
410:48b9ad5ca1fc 411:4765ded59eaa
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
265 ngx_init_array(cmcf->phases[NGX_HTTP_ACCESS_PHASE].handlers, 260 ngx_init_array(cmcf->phases[NGX_HTTP_ACCESS_PHASE].handlers,
266 cf->cycle->pool, 10, sizeof(ngx_http_handler_pt), 261 cf->cycle->pool, 10, sizeof(ngx_http_handler_pt),
267 NGX_CONF_ERROR); 262 NGX_CONF_ERROR);
268 cmcf->phases[NGX_HTTP_ACCESS_PHASE].type = NGX_DECLINED; 263 cmcf->phases[NGX_HTTP_ACCESS_PHASE].type = NGX_DECLINED;
269 264