summaryrefslogtreecommitdiffstats
path: root/inc/dnbd3/config/cow.h
diff options
context:
space:
mode:
authorSimon Rettberg2024-04-11 16:14:59 +0200
committerSimon Rettberg2024-05-13 18:26:42 +0200
commitef86f10d71bf2081b17025e0ea2ad020845233bc (patch)
tree360536a6be044397f88fced139c4db6bdfc8759c /inc/dnbd3/config/cow.h
parent[FUSE] Rename COW API endpoints again (diff)
downloaddnbd3-ef86f10d71bf2081b17025e0ea2ad020845233bc.tar.gz
dnbd3-ef86f10d71bf2081b17025e0ea2ad020845233bc.tar.xz
dnbd3-ef86f10d71bf2081b17025e0ea2ad020845233bc.zip
[FUSE] More cleanup and minor fixes
- Add support for aborting session and further uploads via SIGQUIT - Make API versioned - Change it to "uuid" everywhere instead of a mix of uuid and guid - Server can now tell us to wait with further uploads - merge request is now urlencoded POST instead of mime data
Diffstat (limited to 'inc/dnbd3/config/cow.h')
-rw-r--r--inc/dnbd3/config/cow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/dnbd3/config/cow.h b/inc/dnbd3/config/cow.h
index d3be949..b266fc8 100644
--- a/inc/dnbd3/config/cow.h
+++ b/inc/dnbd3/config/cow.h
@@ -15,7 +15,7 @@
// +++++ COW API Endpoints +++++
#define COW_API_PREFIX "%s/v1/"
#define COW_API_CREATE COW_API_PREFIX "file/create"
-#define COW_API_UPDATE COW_API_PREFIX "file/update?guid=%s&clusterindex=%lu"
+#define COW_API_UPDATE COW_API_PREFIX "file/update?uuid=%s&clusterindex=%lu"
#define COW_API_START_MERGE COW_API_PREFIX "file/merge"
#endif