tusd/pkg
Ole-Martin Bratteng 35dbca86f1
Fix leakage of info when no azure blob is found (#664)
* Create `isAzureError` function

* Throw 404 is info file is not found

* Use `isAzureError` in GetOffset function

* Make `GetUpload` match others without named returns

* Follow code style for `isAzureError` not returning but setting `err` to value

* Return not found when the blob is not found
This will also be triggered when the blob is being uploaded but not yet committed

* Return not found if blob is not found when getting offset

* Don't return error in GetUpload if GetOffset returns `handler.ErrNotFound`
2022-03-17 17:29:15 +01:00
..
azurestore Fix leakage of info when no azure blob is found (#664) 2022-03-17 17:29:15 +01:00
filelocker core: Replace old LockerDataStore with new Locker 2019-09-12 12:37:43 +02:00
filestore core: Handle errors from reading request body centrally 2021-04-26 10:08:37 +02:00
gcsstore deps: Update dependencies for GCSStore (#535) 2021-10-24 10:58:03 +02:00
handler core: Allow non-tus HEAD requests, Add Length to HEAD responses 2021-10-18 00:29:13 +02:00
memorylocker memorylocker: Fix function names in documentation (#412) 2020-08-01 15:02:46 +02:00
prometheuscollector core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00
proto/v1 cli: Fix build time error of gRPC hooks 2020-04-06 13:46:58 +02:00
s3store s3store: stricter character replacement regexp for x-amz-metadata (#598) 2021-12-30 17:17:45 +01:00