]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: we should probably return InvalidArgument when XML_parser fails of the RGWPutACLs op 9200/head
authorweiqiaomiao <wei.qiaomiao@zte.com.cn>
Thu, 19 May 2016 10:18:07 +0000 (18:18 +0800)
committerweiqiaomiao <wei.qiaomiao@zte.com.cn>
Thu, 19 May 2016 10:18:07 +0000 (18:18 +0800)
commitc1973886c86931d0eb055909552ecdc184aa36e6
treef4646dc2f27b66b04e6fd6e429ac56a344de006e
parentff48f9213cbaa9099d21005febce18338819a192
rgw: we should probably return InvalidArgument when XML_parser fails of the RGWPutACLs op
when input xml documention is invalid, bucket put acls fails, but RGW return -EACCESS, which appears as AceessDenied to the client,
we should probably return _EINVAL(InvalidArgument) instead

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
src/rgw/rgw_op.cc