diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2013-09-27 16:50:34 +0400 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-09-27 16:50:34 +0400 |
| commit | 989a71377b099e798ff68632a9269c92ec62eccf (patch) | |
| tree | 592cf9f34103521baee4a0bdef69ef7e6d6dc152 /src | |
| parent | c4b5a1fe5ee0cbfabc74c0fef18e9a946c57f29e (diff) | |
| download | nginx-989a71377b099e798ff68632a9269c92ec62eccf.tar.gz nginx-989a71377b099e798ff68632a9269c92ec62eccf.tar.bz2 | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/modules/ngx_http_scgi_module.c | 7 | ||||
| -rw-r--r-- | src/http/modules/ngx_http_uwsgi_module.c | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/http/modules/ngx_http_scgi_module.c b/src/http/modules/ngx_http_scgi_module.c index e8f822ca0..f9c0d1427 100644 --- a/src/http/modules/ngx_http_scgi_module.c +++ b/src/http/modules/ngx_http_scgi_module.c @@ -394,13 +394,6 @@ ngx_http_scgi_handler(ngx_http_request_t *r) ngx_http_upstream_t *u; ngx_http_scgi_loc_conf_t *scf; - if (r->subrequest_in_memory) { - ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, - "ngx_http_scgi_module does not support " - "subrequests in memory"); - return NGX_HTTP_INTERNAL_SERVER_ERROR; - } - if (ngx_http_upstream_create(r) != NGX_OK) { return NGX_HTTP_INTERNAL_SERVER_ERROR; } diff --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c index b8bee864e..0635299e8 100644 --- a/src/http/modules/ngx_http_uwsgi_module.c +++ b/src/http/modules/ngx_http_uwsgi_module.c @@ -427,13 +427,6 @@ ngx_http_uwsgi_handler(ngx_http_request_t *r) ngx_http_upstream_t *u; ngx_http_uwsgi_loc_conf_t *uwcf; - if (r->subrequest_in_memory) { - ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, - "ngx_http_uwsgi_module does not support " - "subrequests in memory"); - return NGX_HTTP_INTERNAL_SERVER_ERROR; - } - if (ngx_http_upstream_create(r) != NGX_OK) { return NGX_HTTP_INTERNAL_SERVER_ERROR; } |
