]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: rest and http client code to use param vectors
authorKarol Mroz <kmroz@suse.com>
Thu, 17 Mar 2016 09:32:14 +0000 (10:32 +0100)
committerAbhishek Lekshmanan <alekshmanan@suse.com>
Fri, 26 May 2017 13:44:37 +0000 (15:44 +0200)
commit5d90798432a6446636699fc03b2f548010b1212f
tree47b3273c0861baffeaa556572e5c66332c31dc7c
parent54bc1e13ea19642c8d5893f29e96ee5c053f9c59
rgw: rest and http client code to use param vectors

Replaces param/header lists with vectors. In these cases, we're only ever
adding to the back of the list, so a vector should be more efficient.
Also moves param_pair_t/param_vec_t higher up the include chain for
cleaner function signatures.

Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit d4a2527872e0f5c3ae2874bb7d0ff459ae83cfd4)

Conflicts:
src/rgw/rgw_http_client.cc
trivial ws conflict on rebase
src/rgw/rgw_admin.cc
src/rgw/rgw_cr_rest.h
src/rgw/rgw_http_client.cc
src/rgw/rgw_http_client.h
src/rgw/rgw_rest_client.cc
src/rgw/rgw_rest_client.h
src/rgw/rgw_rest_conn.cc
src/rgw/rgw_rest_conn.h