In the docs for ngx.req.get_body_file, there's the following guidance:
"The returned file is read only and is usually cleaned up by Nginx's
memory pool. It should not be manually modified, renamed, or removed
in Lua code."
However, the documentation for nginx's client_body_in_file_only suggests that a setting of
client_body_in_file_only on;
Orphan the client body files after request processing. In that case, is it reasonable for the Lua handler to rename/take ownership of the client body file? OR is there something I'm missing?
https://github.com/openresty/lua-nginx-module#ngxreqget_body_file
http://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_in_file_only
----------------------------------------------------------------------
This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message.