finalize request to allow post_action
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index c2e18b6..9628659 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1834,9 +1834,7 @@
     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);
 }