aboutsummaryrefslogtreecommitdiff
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 0e67f3358..f1c2b16dc 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -568,9 +568,9 @@ int ngx_http_close_request(ngx_http_request_t *r, int error)
c->write->timer_set = 0;
}
- ngx_log_debug(c->log, "http closed");
+ ngx_log_debug(c->log, "http request closed");
- return NGX_ERROR; /* to close connection */
+ return 0;
}