diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2012-12-03 14:32:28 -0800 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2012-12-03 16:02:40 -0800 |
commit | 7fbf9476cb44ce256f4bb2366f46fa20cb570eda (patch) | |
tree | ce08f4aa7024db6de865606ea139087db8396a75 | |
parent | 0639cd9c479d69b077175f0385eb569ebb839349 (diff) | |
download | ceph-7fbf9476cb44ce256f4bb2366f46fa20cb570eda.tar.gz |
rgw: fix swift auth concurrency issue
Fixes: #3565
Originally ops were using static structures, but that
has since changed. Switching swift auth handler to do
the same.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r-- | src/rgw/rgw_swift_auth.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_swift_auth.cc b/src/rgw/rgw_swift_auth.cc index 2678a0a5342..8be9db74466 100644 --- a/src/rgw/rgw_swift_auth.cc +++ b/src/rgw/rgw_swift_auth.cc @@ -241,7 +241,7 @@ RGWOp *RGWHandler_SWIFT_Auth::get_op() RGWOp *op; switch (s->op) { case OP_GET: - op = &rgw_swift_auth_get; + op = new RGW_SWIFT_Auth_Get; break; default: return NULL; |