summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 3046ca882..547e028e5 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -514,13 +514,7 @@ ngx_log_debug(r->connection->log, "trans: %s: %d" _
}
if (clcf->handler) {
- /*
- * if the location already has content handler then skip
- * the translation phase
- */
-
r->content_handler = clcf->handler;
- r->phase++;
}
return NGX_OK;