Mercurial > hg > nginx-quic
comparison src/http/ngx_http.c @ 143:5526213be452
nginx-0.0.1-2003-10-10-19:10:50 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 10 Oct 2003 15:10:50 +0000 |
parents | cd54bcbaf3b5 |
children | ef8c87afcfc5 |
comparison
equal
deleted
inserted
replaced
142:cb77c084acdb | 143:5526213be452 |
---|---|
201 } | 201 } |
202 | 202 |
203 | 203 |
204 /* init list of the handlers */ | 204 /* init list of the handlers */ |
205 | 205 |
206 ngx_init_array(cmcf->translate_handlers, cf->cycle->pool, | 206 ngx_init_array(cmcf->phases[NGX_HTTP_REWRITE_PHASE].handlers, |
207 10, sizeof(ngx_http_handler_pt), NGX_CONF_ERROR); | 207 cf->cycle->pool, 10, sizeof(ngx_http_handler_pt), |
208 NGX_CONF_ERROR); | |
209 | |
210 cmcf->phases[NGX_HTTP_REWRITE_PHASE].type = NGX_OK; | |
211 cmcf->phases[NGX_HTTP_REWRITE_PHASE].post_handler = | |
212 ngx_http_find_location_config; | |
213 | |
214 | |
215 ngx_init_array(cmcf->phases[NGX_HTTP_TRANSLATE_PHASE].handlers, | |
216 cf->cycle->pool, 10, sizeof(ngx_http_handler_pt), | |
217 NGX_CONF_ERROR); | |
218 | |
219 cmcf->phases[NGX_HTTP_TRANSLATE_PHASE].type = NGX_OK; | |
220 | |
208 | 221 |
209 ngx_init_array(cmcf->index_handlers, cf->cycle->pool, | 222 ngx_init_array(cmcf->index_handlers, cf->cycle->pool, |
210 3, sizeof(ngx_http_handler_pt), NGX_CONF_ERROR); | 223 3, sizeof(ngx_http_handler_pt), NGX_CONF_ERROR); |
211 | 224 |
212 | 225 |