]> git.kaiwu.me - nginx.git/commitdiff
finalize request to allow post_action
authorIgor Sysoev <igor@sysoev.ru>
Thu, 15 Feb 2007 18:53:48 +0000 (18:53 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 15 Feb 2007 18:53:48 +0000 (18:53 +0000)
src/http/ngx_http_request.c

index c2e18b64c41964e620a0e3fd261b292a56ff1284..96286597b0c4e57cc062da7c8b4234de133a9b63 100644 (file)
@@ -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);
 }