diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-08-27 15:40:59 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-08-27 15:40:59 +0000 |
| commit | 967fd637e08b6df4f635014fb572296372c89254 (patch) | |
| tree | 4f9dfe10ea18abb68a6f0aaf774f5f5e7c54cc3b /src/http/ngx_http.c | |
| parent | 6d7332d02a043a92f2baf9bbe29949f3760a502c (diff) | |
| download | nginx-967fd637e08b6df4f635014fb572296372c89254.tar.gz nginx-967fd637e08b6df4f635014fb572296372c89254.tar.bz2 | |
nginx-0.0.10-2004-08-27-19:40:59 import
Diffstat (limited to 'src/http/ngx_http.c')
| -rw-r--r-- | src/http/ngx_http.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 492ba6f8a..b8b246196 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -257,6 +257,11 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) *h = ngx_http_find_location_config; + ngx_init_array(cmcf->phases[NGX_HTTP_MISC_PHASE].handlers, + cf->cycle->pool, 10, sizeof(ngx_http_handler_pt), + NGX_CONF_ERROR); + cmcf->phases[NGX_HTTP_MISC_PHASE].type = NGX_DECLINED; + ngx_init_array(cmcf->phases[NGX_HTTP_ACCESS_PHASE].handlers, cf->cycle->pool, 10, sizeof(ngx_http_handler_pt), NGX_CONF_ERROR); |
