From 81494f09573e77f3488ab138cdbae331b9fe4495 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Tue, 12 Mar 2013 12:56:01 -0700 Subject: rgw: use CURL_NOSIGNAL Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_http_client.cc | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1