Skip to content

Commit a379fdc

Browse files
committed
rgw: remove libcurl warning about curl_multi_wait()
Signed-off-by: Casey Bodley <[email protected]>
1 parent 73d0ee1 commit a379fdc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/rgw/rgw_http_client_curl.cc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ void init_ssl(){
6666
namespace rgw {
6767
namespace curl {
6868

69-
static void check_curl()
70-
{
71-
#ifndef HAVE_CURL_MULTI_WAIT
72-
derr << "WARNING: libcurl doesn't support curl_multi_wait()" << dendl;
73-
derr << "WARNING: cross zone / region transfer performance may be affected" << dendl;
74-
#endif
75-
}
76-
7769
#if defined(WITH_CURL_OPENSSL) && OPENSSL_API_COMPAT < 0x10100000L
7870
void init_ssl() {
7971
::openssl::init_ssl();
@@ -100,8 +92,6 @@ bool fe_inits_ssl(boost::optional <const fe_map_t&> m, long& curl_global_flags){
10092
std::once_flag curl_init_flag;
10193

10294
void setup_curl(boost::optional<const fe_map_t&> m) {
103-
check_curl();
104-
10595
long curl_global_flags = CURL_GLOBAL_ALL;
10696

10797
#if defined(WITH_CURL_OPENSSL) && OPENSSL_API_COMPAT < 0x10100000L

0 commit comments

Comments
 (0)