From 3adecaf121ddffe8d78eccd55a47be8221a885d9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 8 May 2009 18:11:18 +0000 Subject: [PATCH] fix the previous commit --- src/http/ngx_http_special_response.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c index 9bf99162b..976543034 100644 --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -454,6 +454,8 @@ ngx_http_filter_finalize_request(ngx_http_request_t *r, ngx_module_t *m, ngx_http_clean_header(r); + ctx = NULL; + if (m) { ctx = r->ctx[m->ctx_index]; }