Latest update - 7299

This commit is contained in:
2018-06-14 19:02:33 +09:00
parent 8e97685c18
commit 997813ab30
2 changed files with 41 additions and 46 deletions
+2 -1
View File
@@ -2901,7 +2901,8 @@ ngx_http_upstream_send_response(ngx_http_request_t *r, ngx_http_upstream_t *u)
}
if (r->request_body && r->request_body->temp_file
&& r == r->main && !r->preserve_body)
&& r == r->main && !r->preserve_body
&& !u->conf->preserve_output)
{
ngx_pool_run_cleanup_file(r->pool, r->request_body->temp_file->file.fd);
r->request_body->temp_file->file.fd = NGX_INVALID_FILE;