You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
It looks like the file is completely uploaded before the config.server.max_content_length check is done when parsing the chunks.
I did a little searching and found this StackOverflow question that might point towards a solution to check earlier in the request flow.
Of course when using a proxy forwarder NGINX, Apache it can be configured to stop the upload too, preventing an unending upload from filling up servers disk. For the Rust Reverse Proxy Sōzu I could not find such a configuration option (yet).
The text was updated successfully, but these errors were encountered:
Hi,
It looks like the file is completely uploaded before the
config.server.max_content_length
check is done when parsing the chunks.I did a little searching and found this StackOverflow question that might point towards a solution to check earlier in the request flow.
actix-web: limit upload file size
Of course when using a proxy forwarder NGINX, Apache it can be configured to stop the upload too, preventing an unending upload from filling up servers disk. For the Rust Reverse Proxy Sōzu I could not find such a configuration option (yet).
The text was updated successfully, but these errors were encountered: