-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a tmp file for swift writes #14424
Conversation
can you add a check to see if the source stream is already seekable |
done. Please have another look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good 👍
Else this leads to a seekable stream error with chunked uploads Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
dd568a1
to
1153123
Compare
/backport to stable15 |
backport to stable15 in #14570 |
@rullzer With the latest commit in stable15 I still get a similar error: "Unable to seek to stream position 0 with whence 0" in files bigger than 10mb. Removing the negation in isset fixed it for me. |
Fixes #13554
Else this leads to a seekable stream error with chunked uploads
@icewind1991 I know this is not the ideal solution. but this is at least trivial to backport to 15.