The req_data->error_buf stores error returned by the curl command, add
that information to existing debug log.
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
(cherry picked from commit
d88ce5100eed90584791b74085a8d864a3796fab)
<< cct->_conf->rgw_curl_low_speed_limit << " Bytes per second during " << cct->_conf->rgw_curl_low_speed_time << " seconds." << dendl;
default:
dout(20) << "ERROR: msg->data.result=" << result << " req_data->id=" << id << " http_status=" << http_status << dendl;
- dout(20) << "ERROR: curl error: " << curl_easy_strerror((CURLcode)result) << dendl;
+ dout(20) << "ERROR: curl error: " << curl_easy_strerror((CURLcode)result) << " req_data->error_buf=" << req_data->error_buf << dendl;
break;
}
}