Addresses RGWGetObj_ObjStore_S3::override_range_hdr using a variable
for logging after the data had been moved out. This was caught by
coverity.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
std::string key = "HTTP_";
key.append(*k);
boost::replace_all(key, "-", "_");
+ ldpp_dout(this, 10) << "after splitting cache kv key: " << key << " " << *v << dendl;
rgw_env->set(std::move(key), std::string(*v));
- ldpp_dout(this, 10) << "after splitting cache kv key: " << key << " " << rgw_env->get(key.c_str()) << dendl;
}
ret = RGWOp::verify_requester(auth_registry, y);
if(!ret && backup_range) {