summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-03-12 12:56:01 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-03-12 12:56:01 -0700
commit81494f09573e77f3488ab138cdbae331b9fe4495 (patch)
tree3adf7a45cbe8926fde4f16aa3718f05b0bb9047c
parent6483275c5678db10d055371227be795cdc63db38 (diff)
downloadceph-wip-4425.tar.gz
rgw: use CURL_NOSIGNALwip-4425
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-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 4c7b99c17c3..f9e5a8260fc 100644
--- a/src/rgw/rgw_http_client.cc
+++ b/src/rgw/rgw_http_client.cc
@@ -54,6 +54,7 @@ int RGWHTTPClient::process(const string& url)
curl_easy_setopt(curl_handle, CURLOPT_URL, url.c_str());
curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L);
+ curl_easy_setopt(curl_handle, CURLOPT_NOSIGNAL, 1L);
curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION, read_http_header);
curl_easy_setopt(curl_handle, CURLOPT_WRITEHEADER, (void *)this);
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, read_http_data);