Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_uwsgi_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 |
---|---|
424 { | 424 { |
425 ngx_int_t rc; | 425 ngx_int_t rc; |
426 ngx_http_status_t *status; | 426 ngx_http_status_t *status; |
427 ngx_http_upstream_t *u; | 427 ngx_http_upstream_t *u; |
428 ngx_http_uwsgi_loc_conf_t *uwcf; | 428 ngx_http_uwsgi_loc_conf_t *uwcf; |
429 | |
430 if (r->subrequest_in_memory) { | |
431 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, | |
432 "ngx_http_uwsgi_module does not support " | |
433 "subrequests in memory"); | |
434 return NGX_HTTP_INTERNAL_SERVER_ERROR; | |
435 } | |
436 | 429 |
437 if (ngx_http_upstream_create(r) != NGX_OK) { | 430 if (ngx_http_upstream_create(r) != NGX_OK) { |
438 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 431 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
439 } | 432 } |
440 | 433 |