# HG changeset patch # User Igor Sysoev # Date 1241806278 0 # Node ID 5364c3419a62cb89ce71c81518597eba1dd1cf46 # Parent 26e06e009ced6472f7c4a436eb60b93b71108f74 fix the previous commit diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c --- 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_htt ngx_http_clean_header(r); + ctx = NULL; + if (m) { ctx = r->ctx[m->ctx_index]; }