commit | fa8712a283f4526ba417ec5a6fa98caaf1b313f6 | [log] [tgz] |
---|---|---|
author | Roman Arutyunyan <arut@nginx.com> | Fri Sep 10 12:59:22 2021 +0300 |
committer | Roman Arutyunyan <arut@nginx.com> | Fri Sep 10 12:59:22 2021 +0300 |
tree | 0d6af875614318f2a04d7a0a25fab23137116adf | |
parent | 3adfb71a10103904c3e3fb8f395835cef183042d [diff] |
Request body: do not create temp file if there's nothing to write. Do this only when the entire request body is empty and r->request_body_in_file_only is set. The issue manifested itself with missing warning "a client request body is buffered to a temporary file" when the entire rb->buf is full and all buffers are delayed by a filter.