]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: remove redundant S3AnonymousEngine 19474/head
authorBingyin Zhang <zhangbingyin@cloudin.cn>
Wed, 13 Dec 2017 08:30:23 +0000 (16:30 +0800)
committerBingyin Zhang <zhangbingyin@cloudin.cn>
Wed, 13 Dec 2017 08:30:23 +0000 (16:30 +0800)
commit428f21c13af120a03f593be2fece433e92b56715
treed7a602ef25b122679341e461dd04a353451230b4
parent36aa1b8c94bfab18c30c2fc888499a4d0fa6b0f7
rgw: remove redundant S3AnonymousEngine

* When receives unauthorized requests, RGW(rados auth only) runs four
* engines as follows:
*     1. anonymous engine in s3_main_strategy_plain
*     2. local engine in s3_main_strategy_plain
*     3. anonymous engine in s3_main_strategy_boto2
*     4. local engine in s3_main_strategy_boto2
* The third engine which is exactly the same with the first one is
* redundant.

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
src/rgw/rgw_auth_registry.h