Describe the feature
In the scenario where DisablePayloadSigning is true, the UploadPartRequest.InputStream should support nonseekable streams.
Use Case
Currently, the InputStream is always wrapped in a PartialWrapperStream just in case the user passes in a stream that's too big. This validation requires the underlying stream to be seekable.
Please provide an option that avoids the PartialWrapperStream for users that provide non-seekable streams guaranteed to be equal to the part size (or smaller for the last part).
Proposed Solution
Add a flag/option to UploadPartRequest to skip creating the PartialWrapperStream.
Other Information
No response
Acknowledgements
AWS .NET SDK and/or Package version used
Latest
Targeted .NET Platform
.NET 8
Operating System and version
Windows 11
Describe the feature
In the scenario where
DisablePayloadSigningistrue, theUploadPartRequest.InputStreamshould support nonseekable streams.Use Case
Currently, the
InputStreamis always wrapped in aPartialWrapperStreamjust in case the user passes in a stream that's too big. This validation requires the underlying stream to be seekable.Please provide an option that avoids the
PartialWrapperStreamfor users that provide non-seekable streams guaranteed to be equal to the part size (or smaller for the last part).Proposed Solution
Add a flag/option to
UploadPartRequestto skip creating thePartialWrapperStream.Other Information
No response
Acknowledgements
AWS .NET SDK and/or Package version used
Latest
Targeted .NET Platform
.NET 8
Operating System and version
Windows 11