summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_http_client.cc
diff options
context:
space:
mode:
authorYuri Weinstein <yweinste@redhat.com>2018-11-19 17:47:27 +0100
committerGitHub <noreply@github.com>2018-11-19 17:47:27 +0100
commit3a77ff454d5d0f4cf892dda18651c079421c722d (patch)
tree7adc4719a7ee195b3b2d830c12da6eb2f9992cf1 /src/rgw/rgw_http_client.cc
parentMerge pull request #25069 from markhpc/wip-memory-autotune-doc (diff)
parentrgw: http client: print curl error messages during curl failures (diff)
downloadceph-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>
Diffstat (limited to 'src/rgw/rgw_http_client.cc')
-rw-r--r--src/rgw/rgw_http_client.cc1
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;
}
}