trinity-1686a
trinity-1686a created pull request Deuxfleurs/garage#163 2021-11-28 20:54:02 +00:00
WIP: s3-router
trinity-1686a pushed to s3-router at trinity-1686a/garage 2021-11-28 20:53:40 +00:00
b8f214876b wire new request router in garage
trinity-1686a pushed to s3-router at trinity-1686a/garage 2021-11-28 20:45:25 +00:00
07168b6b7d wire new request router in garage
trinity-1686a created branch s3-router in trinity-1686a/garage 2021-11-28 17:41:45 +00:00
trinity-1686a pushed to s3-router at trinity-1686a/garage 2021-11-28 17:41:45 +00:00
bb21ab6356 add a request router for api
8811bb08e6 In ListBuckets, hide entry if no perms
Compare 2 commits »
trinity-1686a commented on issue Deuxfleurs/garage#161 2021-11-27 22:38:13 +00:00
Return 400 bad request for non implemented API

I believe WriteGetObjectResponse should be excluded from the list.

Every endpoints except for WriteGetObjectResponse and ListBuckets uses the following header: Host:…

trinity-1686a pushed to range-error at trinity-1686a/garage 2021-11-27 14:56:04 +00:00
8a43ede301 add range header on 416 on web request
trinity-1686a pushed to range-error at trinity-1686a/garage 2021-11-27 10:42:37 +00:00
36e104b665 send content-range on invalid range error
trinity-1686a pushed to range-error at trinity-1686a/garage 2021-11-25 17:30:39 +00:00
991279cd40 remove dead code and handle mutli-range by sending whole file
trinity-1686a opened issue Deuxfleurs/garage#160 2021-11-22 13:53:35 +00:00
implement UploadPartCopy
trinity-1686a created pull request Deuxfleurs/garage#157 2021-11-19 19:19:09 +00:00
map range-error to the right http error code
trinity-1686a created branch range-error in trinity-1686a/garage 2021-11-19 19:17:40 +00:00
trinity-1686a pushed to range-error at trinity-1686a/garage 2021-11-19 19:17:40 +00:00
8c45ad8e38 map range-error to the right http error code
85b2e4ca29 Start socat only once
c94406f428 Improve how node roles are assigned in Garage
53888995bd update doc and comments
f0893b904d update cargo.nix
Compare 10 commits »
trinity-1686a pushed to main at Deuxfleurs/mknet 2021-11-18 18:22:02 +00:00
79bd5f17a6 update to support garage new layout concept
trinity-1686a commented on pull request Deuxfleurs/garage#154 2021-11-15 16:43:21 +00:00
add support for vhost/dns style bucket access

changes were tested using mcli (read and list object, write is blocked by #64) and rclone (read, write and list). Other endpoints were not tested, but should hopefully work

trinity-1686a pushed to vhost-style at trinity-1686a/garage 2021-11-15 16:39:40 +00:00
df4b739617 update doc and comments
trinity-1686a commented on pull request Deuxfleurs/garage#154 2021-11-12 22:14:38 +00:00
add support for vhost/dns style bucket access

tested with minio. It seems to to have the same behavior

trinity@anarthink ~> mcli cp /proc/cpuinfo minio/minio-test//////cpuinfo.txt
 0 B / ?…
trinity-1686a commented on pull request Deuxfleurs/garage#154 2021-11-12 10:20:32 +00:00
add support for vhost/dns style bucket access

I have some doubt on the correctness of key extraction on some edge-case : if a path starts with //some-key, it gets translated to some-key. Maybe it should be /some-key instead? (stripping…

trinity-1686a pushed to vhost-style at trinity-1686a/garage 2021-11-12 10:16:51 +00:00
dd9ae22f03 update cargo.nix
trinity-1686a pushed to vhost-style at trinity-1686a/garage 2021-11-11 14:37:52 +00:00
5bd9329391 clippy