mirror of
https://github.com/rclone/rclone.git
synced 2026-10-09 14:39:28 -04:00
OCI rejects a multipart completion request with no parts. Probe unknown-size
streams through a buffered reader and use a regular upload when the stream is
empty. Peek preserves a non-empty stream for the selected upload path.
(cherry picked from commit e85836d4c7)