aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index c2e18b64c..96286597b 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1834,9 +1834,7 @@ closed:
ngx_log_error(NGX_LOG_INFO, c->log, err,
"client closed prematurely connection");
- ngx_http_close_request(r, 0);
-
- return;
+ ngx_http_finalize_request(r, 0);
}