From: Igor Sysoev Date: Wed, 10 Dec 2008 16:16:10 +0000 (+0000) Subject: clear fastcgi ctx for internal redirection via named location X-Git-Tag: release-0.7.27~13 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=1e2d6aa0e88891bf92d860f108a93078e3203e53;p=nginx.git clear fastcgi ctx for internal redirection via named location --- diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index 88ea672ac..301449fee 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -419,6 +419,8 @@ ngx_http_fastcgi_handler(ngx_http_request_t *r) return NGX_HTTP_INTERNAL_SERVER_ERROR; } + ngx_http_set_ctx(r, NULL, ngx_http_fastcgi_module); + u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); if (u == NULL) { return NGX_HTTP_INTERNAL_SERVER_ERROR;