1 | | ngx_lua does not call the standard nginx request reader before executing user Lua code. It is up to the user to decide when to actually read the request body (and even how to, the standard request body reader is just one option). The "complex value" of client_max_body_size can be evaluated at the time of the ngx_http_read_client_request_body call. |
| 1 | ngx_lua does not call the standard nginx request body reader before executing user Lua code. It is up to the user to decide when to actually read the request body (and even how to, the standard request body reader is just one option). |
| 2 | |
| 3 | Speaking of the implementation for this feaure in the nginx core, the "complex value" of client_max_body_size can be evaluated at the time of the ngx_http_read_client_request_body call. |