]> git.kaiwu.me - nginx.git/commitdiff
Upstream: subrequest_in_memory support for SCGI and uwsgi enabled.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 27 Sep 2013 12:50:34 +0000 (16:50 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 27 Sep 2013 12:50:34 +0000 (16:50 +0400)
This was missed in 9d59a8eda373 when non-buffered support was added to SCGI
and uwsgi.

src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c

index e8f822ca0703dac691a81bae47740a15ad905a01..f9c0d14278ed691908aa3666e7ce5cbaf7060fde 100644 (file)
@@ -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;
     }
index b8bee864e40a48b99962a4c54700d5f1533404ce..0635299e839be7093b16d65c0acbffdfe374f3a1 100644 (file)
@@ -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;
     }