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
I was looking into this as well recently. Poem itself does not provide capabilities out of the box, but using the tower-compat features allows you to use middleware from the tower-http crate. This one does include a request size limit layer.
How to limit the size of Multipart?
Our service has been attacked. I want to prohibit uploading files with a total size of more than 100 MB.
It would be best to reject it when the link is established, and the second best is to reject it when the transfer reaches 100 MB.
This is not a global setting requirement, I hope to be able to set it separately for endpoint or struct.
The text was updated successfully, but these errors were encountered: