AlinsRan opened a new pull request, #14251: URL: https://github.com/apache/apisix/pull/14251
### Description Add a per-route `max_req_body_size` to `grpc-transcode`, with a default of 64 MiB for JSON requests. Apply it before reading a temporary body file into Lua memory and before JSON decoding. Requests over the limit receive HTTP 413. Operators handling larger JSON messages can raise the limit. The tests exercise a request at the configured boundary, a request one byte above it and a chunked request buffered to disk. The English and Chinese plugin references document the setting. ### Verification All five grpc-transcode suites passed locally (210 assertions). Luacheck passed for the modified Lua files. ### Checklist - [x] I have explained the need for this PR and the problem it solves - [x] I have explained the changes or the new features added to this PR - [x] I have added tests corresponding to this change - [x] I have updated the documentation to reflect this change -- 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]
