diff options
author | Yuri Weinstein <yweinste@redhat.com> | 2018-11-19 17:47:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-19 17:47:27 +0100 |
commit | 3a77ff454d5d0f4cf892dda18651c079421c722d (patch) | |
tree | 7adc4719a7ee195b3b2d830c12da6eb2f9992cf1 | |
parent | Merge pull request #25069 from markhpc/wip-memory-autotune-doc (diff) | |
parent | rgw: http client: print curl error messages during curl failures (diff) | |
download | ceph-3a77ff454d5d0f4cf892dda18651c079421c722d.tar.xz ceph-3a77ff454d5d0f4cf892dda18651c079421c722d.zip |
Merge pull request #23318 from theanalyst/wip-curl-errstring
rgw: http client: print curl error messages during curl failures
Reviewed-by: Casey Bodley <cbodley@redhat.com>
-rw-r--r-- | src/rgw/rgw_http_client.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_http_client.cc b/src/rgw/rgw_http_client.cc index f5dbef6ec50..c2764b816ed 100644 --- a/src/rgw/rgw_http_client.cc +++ b/src/rgw/rgw_http_client.cc @@ -1154,6 +1154,7 @@ void *RGWHTTPManager::reqs_thread_entry() << 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; break; } } |