mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06:00
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.
This commit is contained in:
parent
c4b5a1fe5e
commit
989a71377b
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user