Baoyuantop commented on issue #10379: URL: https://github.com/apache/apisix/issues/10379#issuecomment-4044146865
APISIX's client-control plugin sets `max_body_size` only during the `access_by_lua` phase (using the `_M.rewrite` function). However, third-party Nginx modules might call `ngx_http_read_client_request_body` to read the request body at an earlier stage (such as during the C module's handling in the access phase). In this case, `max_body_size` is still the default value of 0 (unrestricted), causing large request bodies to be allowed to pass. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
