Demonstrator to evaluate proper handling of streaming file uploads with Micronaut.
To test with a large file run the following commands:
1st console:
./gradlew run
2nd console:
dd if=/dev/zero of=1gb.bin bs=1GB count=1
dd if=/dev/zero of=10gb.bin bs=1GB count=10
curl -v -F "[email protected]" -F "[email protected]" http://localhost:8080/upload
The controller will save large files in a temporary location, see logs.