Changes between Initial Version and Version 1 of Ticket #586, comment 5


Ignore:
Timestamp:
06/30/14 18:51:35 (6 years ago)
Author:
Yichun Zhang

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #586, comment 5

    initial v1  
    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.
     1ngx_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
     3Speaking 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.