1450793561 commented on issue #12245:
URL: https://github.com/apache/apisix/issues/12245#issuecomment-2903210243
> ` client_max_body_size: 600m # Set the maximum allowed size of the client
request body.` Try to set default 0 ? unlimited
Current tests have found that there is no problem downloading files of 1G
size, but an error "Content-Length: "will be reported when downloading files
larger than 2G. Does this error mean that we do not support downloading files
larger than 2G? What if the file size calculation overflows when it exceeds 2G?
At the same time, I also tested the issue of integer overflow when adding
the following header
```
"Connection": "keep-alive",
"Content-Length": "",
"Host": "$host",
"Transfer-Encoding": "chunked",
"X-Forwarded-For": "$proxy_add_x_forwarded_for",
"X-Real-IP": "$remote_addr",
"http_version": "1.1"
```
--
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]