summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-11 13:42:33 +0000
committerJonathan Kolb <jon@b0g.us>2009-05-11 13:42:33 +0000
commit672550f28d9dfbf1cacd29ad10687bad69456e17 (patch)
tree72c3acde831d8cf7ca505a39526e33ab46f1ab80 /src/http/ngx_http_request.c
parent0a2a082941a6bfc7374c8c7a6c409cbb5cde8455 (diff)
downloadnginx-672550f28d9dfbf1cacd29ad10687bad69456e17.tar.gz
Changes with nginx 0.7.56 11 May 2009v0.7.56
*) Feature: nginx/Windows supports IPv6 in a "listen" directive of the HTTP module. *) Bugfix: in ngx_http_image_filter_module.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 9cdd92ddd..32f120c8e 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1815,6 +1815,11 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
"http finalize request: %d, \"%V?%V\" %d",
rc, &r->uri, &r->args, r == c->data);
+ if (rc == NGX_OK && r->filter_finalize) {
+ c->error = 1;
+ return;
+ }
+
if (rc == NGX_DECLINED) {
r->content_handler = NULL;
r->write_event_handler = ngx_http_core_run_phases;