ziyou434 opened a new issue #3062:
URL: https://github.com/apache/apisix/issues/3062
### Issue description
When I was debugging Apisix with app colleagues, I found that
core.requ.get_body () could not read the whole body. Our body length was over
40,000 characters, but the body printed from the log was only over 10,000
characters.
I found the fuction was upgrade in 2.1 version.
```
function _M.get_body(max_size, ctx)
-- TODO: improve the check with set client_max_body dynamically
-- which requires to change Nginx source code
```
Then I change the client_max_body in config.yaml
```yaml
client_max_body_size: 512m # The maximum allowed size of the client
request body.
```
But I still can only get those 10,000 characters, How should I set it?
### Environment
* apisix version (cmd: `apisix version`): 2.1
* OS: linux
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]