Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_fastcgi_module.c @ 2395:b1a24d3cf4dd
clear fastcgi ctx for internal redirection via named location
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 10 Dec 2008 16:16:10 +0000 |
parents | d88e757cc7d8 |
children | 848d944eae81 |
comparison
equal
deleted
inserted
replaced
2394:dbe746851b31 | 2395:b1a24d3cf4dd |
---|---|
416 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, | 416 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, |
417 "ngx_http_fastcgi_module does not support " | 417 "ngx_http_fastcgi_module does not support " |
418 "subrequest in memory"); | 418 "subrequest in memory"); |
419 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 419 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
420 } | 420 } |
421 | |
422 ngx_http_set_ctx(r, NULL, ngx_http_fastcgi_module); | |
421 | 423 |
422 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); | 424 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); |
423 if (u == NULL) { | 425 if (u == NULL) { |
424 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 426 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
425 } | 427 } |