Daniel Frąk
Daniel Frąk
Thanks for the great support! The file I was using `Thread.sleep()` with was indeed just 704 bytes. I'll try it with a bigger file (>65536 bytes) tomorrow and I'll let...
Some new information: 1) I have confirmed that the code works in production (with AWS in place of LocalStack), which further suggests that the issue is in how LocalStack handles...
I asked about our production code and apparently it has already been tested with `Thread.sleep()` in this way: ```java try (var reader = new BufferedReader(new InputStreamReader(response, StandardCharsets.UTF_8))) { var csvToBean...
I created a minimal reproduction here: https://github.com/daniel-frak/localstack-s3-issue-reproduction I managed to make it fail when uploading a 10 megabyte file with a 90 second `Thread.sleep()`: ``` org.apache.http.ConnectionClosedException: Premature end of Content-Length...