Closed jian-sun closed 6 years ago
This has been our design choice that we never revert to file io, as it will block the worker. Right now you need to extend the buffers or use ngx.req.socket to stream read the body. I am not sure if we ever going to make use of file buffering.
I will close this for now, but there is a change that we do something about it in future. But I guess we will then use ngx.req.socket
unless there is better support for non-blocking file io.
How to use ngx.req.socket to process chunked request body
when request body size exceed client_max_body_size , the function ngx.req.get_body_data result is null should use ngx.req.get_body_file? effected plugin