axman6 / amazonka-s3-streaming

Provides a conduit based interface to uploading data to S3 using the Multipart API
MIT License
20 stars 23 forks source link

Ensure that chunks are no larger than chunk size #33

Closed axman6 closed 1 year ago

axman6 commented 1 year ago

Something that @endgame brought up a long time ago, it was possible to produce chunks which were arbitrarily larger than the chunk size. This change should ensure that all chunks are at most chunkSize bytes.