]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWRESTSimpleRequest::forward_request params
authorCasey Bodley <cbodley@redhat.com>
Fri, 11 Sep 2015 17:11:39 +0000 (13:11 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:12:44 +0000 (16:12 -0800)
commit669b9fc5ecd421cb9ab4bf3baaa843a5a55c8948
tree1ea1f727ee223618b75bfe167793218a8a1ffe6f
parent4a2f1681547235923caa4e275a502c097c33dd3d
rgw: RGWRESTSimpleRequest::forward_request params

forward_request() uses new_info.build_from(info) to initialize the new
request info. but this doesn't copy the RGWHTTPArgs, so any parameters
associated with info are dropped

it later uses new_info.args.get_params() to generate the params_str,
but no code in between adds any parameters to new_info. so use
info.args.get_params() instead to keep any parameters from the original
request info

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rest_client.cc