aws-sdk icon indicating copy to clipboard operation
aws-sdk copied to clipboard

Response should be paused

Open zenios opened this issue 2 years ago • 1 comments

https://github.com/reactiverse/aws-sdk/blob/883755f9068ea111ba54736ba4b473d6d681eb3d/src/main/java/io/reactiverse/awssdk/VertxNioAsyncHttpClient.java#L86

Hi

Response should be paused until the subscriber (ReadStreamPublisher) requests data via (stream.fetch(n) which automatically resumes) else you are having the chance of missing data. This is visible when you are fetching big files from s3

zenios avatar Jun 03 '23 13:06 zenios

Thanks a lot for reporting this!

Is there any chance you can provide a reproducer with Localstack (in the same fashion as the existing integration tests)?

I'll try to give it a look at some point when I get some time, but the more input the faster it'll be for sure.

aesteve avatar Jun 05 '23 05:06 aesteve