summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_common.h
diff options
context:
space:
mode:
authorPritha Srivastava <prsrivas@redhat.com>2024-01-30 12:18:42 +0100
committerPritha Srivastava <prsrivas@redhat.com>2024-02-05 11:10:38 +0100
commit6ee4416d80d17f57460ebe044bd9cc8d43dc26e8 (patch)
treeb35869c6b4edbd7aaeede3c150b6bfa5b47d9685 /src/rgw/rgw_common.h
parentMerge pull request #55342 from ljflores/wip-tox-mgr (diff)
downloadceph-6ee4416d80d17f57460ebe044bd9cc8d43dc26e8.tar.xz
ceph-6ee4416d80d17f57460ebe044bd9cc8d43dc26e8.zip
rgw/auth: correcting the error message to indicate
clearly that a pre-signed URL has expired. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Diffstat (limited to 'src/rgw/rgw_common.h')
-rw-r--r--src/rgw/rgw_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h
index ef9aa542055..3bf6c4dfac8 100644
--- a/src/rgw/rgw_common.h
+++ b/src/rgw/rgw_common.h
@@ -306,6 +306,7 @@ static inline const char* to_mime_type(const RGWFormat f)
#define ERR_OBJECT_NOT_APPENDABLE 2220
#define ERR_INVALID_BUCKET_STATE 2221
#define ERR_INVALID_OBJECT_STATE 2222
+#define ERR_PRESIGNED_URL_EXPIRED 2223
#define ERR_BUSY_RESHARDING 2300
#define ERR_NO_SUCH_ENTITY 2301