From 921603b036ab4144a6030224a871856fc8b12c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Tue, 22 May 2012 20:52:18 +0800 Subject: [PATCH] fixed the filter_finalize_hang patch for a regression in the image filter. --- patches/nginx-1.0.15-filter_finalize_hang.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/nginx-1.0.15-filter_finalize_hang.patch b/patches/nginx-1.0.15-filter_finalize_hang.patch index 292eed2..e29477f 100644 --- a/patches/nginx-1.0.15-filter_finalize_hang.patch +++ b/patches/nginx-1.0.15-filter_finalize_hang.patch @@ -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) {