summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_rest_conn.cc
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2017-03-21 22:42:51 +0100
committerYehuda Sadeh <yehuda@redhat.com>2017-05-30 22:24:40 +0200
commit952e72d9793ffdc384cc6b4482b1b22a6a8f3f3c (patch)
tree44ba094896e83a4c9b5ad83a36f1852ffc815ba4 /src/rgw/rgw_rest_conn.cc
parentrgw: make key param in RGWRESTStreamRWRequest::send_request() optional (diff)
downloadceph-952e72d9793ffdc384cc6b4482b1b22a6a8f3f3c.tar.xz
ceph-952e72d9793ffdc384cc6b4482b1b22a6a8f3f3c.zip
rgw: can send data in RGWRESTStreamRWRequest::send_request()
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/rgw_rest_conn.cc')
-rw-r--r--src/rgw/rgw_rest_conn.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rgw/rgw_rest_conn.cc b/src/rgw/rgw_rest_conn.cc
index 7f9a45a8f75..c8d0682a0a4 100644
--- a/src/rgw/rgw_rest_conn.cc
+++ b/src/rgw/rgw_rest_conn.cc
@@ -249,7 +249,7 @@ int RGWRESTConn::get_resource(const string& resource,
headers.insert(extra_headers->begin(), extra_headers->end());
}
- ret = req.send_request(&key, headers, resource, mgr);
+ ret = req.send_request(&key, headers, resource, nullptr, mgr);
if (ret < 0) {
ldout(cct, 5) << __func__ << ": send_request() resource=" << resource << " returned ret=" << ret << dendl;
return ret;
@@ -296,7 +296,7 @@ void RGWRESTReadResource::init_common(param_vec_t *extra_headers)
int RGWRESTReadResource::read()
{
- int ret = req.send_request(&conn->get_key(), headers, resource, mgr);
+ int ret = req.send_request(&conn->get_key(), headers, resource, nullptr, mgr);
if (ret < 0) {
ldout(cct, 5) << __func__ << ": send_request() resource=" << resource << " returned ret=" << ret << dendl;
return ret;
@@ -309,7 +309,7 @@ int RGWRESTReadResource::read()
int RGWRESTReadResource::aio_read()
{
- int ret = req.send_request(&conn->get_key(), headers, resource, mgr);
+ int ret = req.send_request(&conn->get_key(), headers, resource, nullptr, mgr);
if (ret < 0) {
ldout(cct, 5) << __func__ << ": send_request() resource=" << resource << " returned ret=" << ret << dendl;
return ret;
@@ -357,7 +357,7 @@ void RGWRESTSendResource::init_common(param_vec_t *extra_headers)
int RGWRESTSendResource::send(bufferlist& outbl)
{
req.set_outbl(outbl);
- int ret = req.send_request(&conn->get_key(), headers, resource, mgr);
+ int ret = req.send_request(&conn->get_key(), headers, resource, nullptr, mgr);
if (ret < 0) {
ldout(cct, 5) << __func__ << ": send_request() resource=" << resource << " returned ret=" << ret << dendl;
return ret;
@@ -371,7 +371,7 @@ int RGWRESTSendResource::send(bufferlist& outbl)
int RGWRESTSendResource::aio_send(bufferlist& outbl)
{
req.set_outbl(outbl);
- int ret = req.send_request(&conn->get_key(), headers, resource, mgr);
+ int ret = req.send_request(&conn->get_key(), headers, resource, nullptr, mgr);
if (ret < 0) {
ldout(cct, 5) << __func__ << ": send_request() resource=" << resource << " returned ret=" << ret << dendl;
return ret;