From 7fbf9476cb44ce256f4bb2366f46fa20cb570eda Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 3 Dec 2012 14:32:28 -0800 Subject: [PATCH] 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 --- src/rgw/rgw_swift_auth.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_swift_auth.cc b/src/rgw/rgw_swift_auth.cc index 2678a0a5342a4..8be9db74466ab 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; -- 2.39.5