mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
clear fastcgi ctx for internal redirection via named location
This commit is contained in:
parent
524f54f56d
commit
1e2d6aa0e8
@ -419,6 +419,8 @@ ngx_http_fastcgi_handler(ngx_http_request_t *r)
|
|||||||
return NGX_HTTP_INTERNAL_SERVER_ERROR;
|
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));
|
u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));
|
||||||
if (u == NULL) {
|
if (u == NULL) {
|
||||||
return NGX_HTTP_INTERNAL_SERVER_ERROR;
|
return NGX_HTTP_INTERNAL_SERVER_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user