comparison src/http/modules/ngx_http_fastcgi_module.c @ 777:4ab852b691f5

<!--#include virtual=... set=... -->
author Igor Sysoev <igor@sysoev.ru>
date Fri, 13 Oct 2006 15:20:10 +0000
parents bae59a740c40
children 4d68c486fcb0
comparison
equal deleted inserted replaced
776:5622cdd48e5b 777:4ab852b691f5
392 ngx_http_fastcgi_handler(ngx_http_request_t *r) 392 ngx_http_fastcgi_handler(ngx_http_request_t *r)
393 { 393 {
394 ngx_int_t rc; 394 ngx_int_t rc;
395 ngx_http_upstream_t *u; 395 ngx_http_upstream_t *u;
396 ngx_http_fastcgi_loc_conf_t *flcf; 396 ngx_http_fastcgi_loc_conf_t *flcf;
397
398 if (r->subrequest_in_memory) {
399 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
400 "ngx_http_fastcgi_module does not support "
401 "subrequest in memeory");
402 return NGX_HTTP_INTERNAL_SERVER_ERROR;
403 }
397 404
398 flcf = ngx_http_get_module_loc_conf(r, ngx_http_fastcgi_module); 405 flcf = ngx_http_get_module_loc_conf(r, ngx_http_fastcgi_module);
399 406
400 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); 407 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));
401 if (u == NULL) { 408 if (u == NULL) {