fixed the filter_finalize_hang patch for a regression in the image filter.

This commit is contained in:
agentzh (章亦春) 2012-05-22 20:52:18 +08:00
parent 140c431a59
commit 921603b036
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
--- nginx-1.0.15/src/http/ngx_http_request.c 2012-03-05 20:49:32.000000000 +0800
+++ nginx-1.0.15-patched/src/http/ngx_http_request.c 2012-05-11 20:50:01.478111234 +0800
@@ -1900,6 +1900,7 @@
+++ nginx-1.0.15-patched/src/http/ngx_http_request.c 2012-05-22 20:46:57.000000000 +0800
@@ -1900,7 +1900,6 @@
if (rc == NGX_OK && r->filter_finalize) {
c->error = 1;
+ ngx_http_finalize_connection(r);
return;
- return;
}
if (rc == NGX_DECLINED) {