Uploading images exceeding 20 MB will cause the program to exit abnormally

āš“ Dev    šŸ“… 2023-11-07    šŸ‘¤ mm    šŸ‘ļø 194      

mm

Warning

This post was published 114 days ago. The infomation described in this article may have changed.

The test on my machine throws an exception.

thread 'tokio-runtime-worker' panicked at ./src/controller/upload.rs:170:40:
called `Result::unwrap()` on an `Err` value: MultipartError { source: failed to read stream: failed to read stream: length limit exceeded }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Iā€™m sorry if testing crashes freedit.eu.

šŸ·ļø bug