aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index b8b246196..492ba6f8a 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -257,11 +257,6 @@ 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);