Checkboxes for prior research
Describe the bug
Immediately ending the stream feeding the Upload utility from @aws-sdk/lib-storage sometimes leads to the S3 client getting "locked up": a subsequent command sent through it never finishes.
SDK version number
@aws-sdk/client-s3@3.637.0, @aws-sdk/lib-storage@3.637.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.15.0
Reproduction Steps
Detailed steps to reproduce are listed in https://github.com/martinslota/aws-sdk-lib-storage-race. Those steps run against Localstack, but the same code also works against actual AWS S3.
Observed Behavior
After uploading an empty stream, commands sent through the S3 client never finish.
Expected Behavior
After uploading an empty stream, commands sent through the S3 client should continue to work as usual.
Possible Solution
No response
Additional Information/Context
No response
Checkboxes for prior research
Describe the bug
Immediately ending the stream feeding the
Uploadutility from@aws-sdk/lib-storagesometimes leads to the S3 client getting "locked up": a subsequent command sent through it never finishes.SDK version number
@aws-sdk/client-s3@3.637.0, @aws-sdk/lib-storage@3.637.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.15.0
Reproduction Steps
Detailed steps to reproduce are listed in https://github.com/martinslota/aws-sdk-lib-storage-race. Those steps run against Localstack, but the same code also works against actual AWS S3.
Observed Behavior
After uploading an empty stream, commands sent through the S3 client never finish.
Expected Behavior
After uploading an empty stream, commands sent through the S3 client should continue to work as usual.
Possible Solution
No response
Additional Information/Context
No response