aliyun / aliyun-oss-csharp-sdk

Aliyun OSS SDK for C#
MIT License
383 stars 206 forks source link

four bug fixes #38

Closed qixu001 closed 6 years ago

qixu001 commented 6 years ago

Fix OSS-2608 and #OSS-1579. The root cause of OSS-2608 is that the BeginPutObject will dispose the stream but the content might be uploading in the other thread. This could happen in any thread count (not necessarily 10 thread). The root cause of OSS-1579 is to call IDirectory.Add on an existing key when the request is retried.

Fix the OSS-2727. Set AllowWriteStreamBuffering false when the file size is big. Set the request.ReadWriteTimeout with the timeout value in client configuration

Fix #OSS-1393. Support chunked encoding in PutObject. Also automatic use chunked encoding when the stream is nonseekable.