]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_swift_auth.cc
update sources to v12.1.1
[ceph.git] / ceph / src / rgw / rgw_swift_auth.cc
index 8ce6bb0816efae60f6b08b9a0fae1ff3f125732e..9674424b03539f88bdea71dc18ac2752924e4e71 100644 (file)
@@ -219,7 +219,7 @@ TempURLEngine::authenticate(const req_state* const s) const
 
   if (is_expired(temp_url_expires)) {
     ldout(cct, 5) << "temp url link expired" << dendl;
-    return result_t::reject();
+    return result_t::reject(-EPERM);
   }
 
   /* We need to verify two paths because of compliance with Swift, Tempest