diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-10-13 15:20:10 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-13 15:20:10 +0000 |
| commit | 960100e371cdaa1986929ac8cd2f4f515160c7a6 (patch) | |
| tree | 55920d61068f8052d2156da10c199f68bfe7deea /src/http/modules/ngx_http_fastcgi_module.c | |
| parent | 0ab9e437145620ea9e44c03173c9e60d9b29475b (diff) | |
| download | nginx-960100e371cdaa1986929ac8cd2f4f515160c7a6.tar.gz nginx-960100e371cdaa1986929ac8cd2f4f515160c7a6.tar.bz2 | |
<!--#include virtual=... set=... -->
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
| -rw-r--r-- | src/http/modules/ngx_http_fastcgi_module.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index cce31010c..f22de517a 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -395,6 +395,13 @@ ngx_http_fastcgi_handler(ngx_http_request_t *r) ngx_http_upstream_t *u; ngx_http_fastcgi_loc_conf_t *flcf; + if (r->subrequest_in_memory) { + ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, + "ngx_http_fastcgi_module does not support " + "subrequest in memeory"); + return NGX_HTTP_INTERNAL_SERVER_ERROR; + } + flcf = ngx_http_get_module_loc_conf(r, ngx_http_fastcgi_module); u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); |
