tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
3.04k stars 475 forks source link

s3store: Fix downloads from some S3-compatible stores #1071

Closed Acconut closed 8 months ago

Acconut commented 8 months ago

When downloading a completed upload via a GET request from DigitalOcean Spaces, an error would be returned because the corresponding multipart uploads was (as expected) not found. This PR patches the error handling to correctly ignore this error.

Fixes an error discovered in https://github.com/tus/tusd/issues/1067#issuecomment-1907924262. See https://github.com/tus/tusd/issues/1015 for similar errors in the past.