changeset 1115:f07a5f4017d9

finalize request to allow post_action
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Feb 2007 18:53:48 +0000
parents 3f354952e91d
children 6fcce6c4019a
files src/http/ngx_http_request.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }