Mercurial > hg > nginx
comparison src/http/modules/ngx_http_scgi_module.c @ 5393:1a070e89b97a
Upstream: subrequest_in_memory support for SCGI and uwsgi enabled.
This was missed in 9d59a8eda373 when non-buffered support was added to SCGI
and uwsgi.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 27 Sep 2013 16:50:34 +0400 |
parents | 05c53652e7b4 |
children | 43ccaf8e8728 |
comparison
equal
deleted
inserted
replaced
5392:f1caf7b8ae1d | 5393:1a070e89b97a |
---|---|
391 { | 391 { |
392 ngx_int_t rc; | 392 ngx_int_t rc; |
393 ngx_http_status_t *status; | 393 ngx_http_status_t *status; |
394 ngx_http_upstream_t *u; | 394 ngx_http_upstream_t *u; |
395 ngx_http_scgi_loc_conf_t *scf; | 395 ngx_http_scgi_loc_conf_t *scf; |
396 | |
397 if (r->subrequest_in_memory) { | |
398 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, | |
399 "ngx_http_scgi_module does not support " | |
400 "subrequests in memory"); | |
401 return NGX_HTTP_INTERNAL_SERVER_ERROR; | |
402 } | |
403 | 396 |
404 if (ngx_http_upstream_create(r) != NGX_OK) { | 397 if (ngx_http_upstream_create(r) != NGX_OK) { |
405 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 398 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
406 } | 399 } |
407 | 400 |