]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: set up curl with CURL_NOSIGNAL
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 12 Mar 2013 19:56:01 +0000 (12:56 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 13 Mar 2013 18:32:47 +0000 (11:32 -0700)
commitc6b7c4be3fc44d065c29ea76b744b39272c2ba05
tree6698c0cdf482415862276afc099f1193a394d495
parent8c16a376a9cbfd6812824fb71e2cc9935e14e667
rgw: set up curl with CURL_NOSIGNAL

Fixes: #4425
Backport: bobtail
Apparently, libcurl needs that in order to be thread safe. Side
effect is that if libcurl is not compiled with c-ares support,
domain name lookups are not going to time out.
Issue affected keystone.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit 88725316ddcfa02ff110e659f7a8131dc1ea2cfc)
src/rgw/rgw_http_client.cc