using namespace rgw;
+#ifndef FORTEST_VIRTUAL
+#define FORTEST_VIRTUAL /**/
+#endif
/**
* Memory pool for use with rapidjson. This version
return res;
}
+ FORTEST_VIRTUAL
int send_request(const char *method, std::string_view infix,
std::string_view key_id,
const std::string& postdata,
ldout(cct, 20) << "Parse response into JSON Object" << dendl;
+ secret_bl.append('\0');
rapidjson::StringStream isw(secret_bl.c_str());
d.ParseStream<>(isw);
ldout(cct, 20) << "Parse response into JSON Object" << dendl;
+ secret_bl.append('\0');
rapidjson::StringStream isw(secret_bl.c_str());
d.SetNull();
d.ParseStream<>(isw);
ldout(cct, 20) << "Parse response into JSON Object" << dendl;
+ secret_bl.append('\0');
rapidjson::StringStream isw(secret_bl.c_str());
d.SetNull();
d.ParseStream<>(isw);
ldout(cct, 20) << "Parse response into JSON Object" << dendl;
+ secret_bl.append('\0');
rapidjson::StringStream isw(secret_bl.c_str());
d.ParseStream<>(isw);