nginx-0.1.31-RELEASE import
*) Bugfix: the response encrypted by SSL may not transferred complete.
*) Bugfix: errors while processing FastCGI response by SSI.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the redirect with the 301 code was transferred without
response body; the bug had appeared in 0.1.30.
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 2a9b3b7..42c8211 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1023,6 +1023,8 @@
sr->internal = 1;
+ sr->main_filter_need_in_memory = r->main_filter_need_in_memory;
+
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"http subrequest \"%V\"", uri);