]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove libcurl warning about curl_multi_wait()
authorCasey Bodley <cbodley@redhat.com>
Tue, 1 Mar 2022 18:23:45 +0000 (13:23 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 1 Mar 2022 18:23:45 +0000 (13:23 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_http_client_curl.cc

index c11eacdd417a0982ff616f60d39c810577397c69..2477cfcebf13b2f6da4893450d31a9e0384e587b 100644 (file)
@@ -66,14 +66,6 @@ void init_ssl(){
 namespace rgw {
 namespace curl {
 
-static void check_curl()
-{
-#ifndef HAVE_CURL_MULTI_WAIT
-  derr << "WARNING: libcurl doesn't support curl_multi_wait()" << dendl;
-  derr << "WARNING: cross zone / region transfer performance may be affected" << dendl;
-#endif
-}
-
 #if defined(WITH_CURL_OPENSSL) && OPENSSL_API_COMPAT < 0x10100000L
 void init_ssl() {
   ::openssl::init_ssl();
@@ -100,8 +92,6 @@ bool fe_inits_ssl(boost::optional <const fe_map_t&> m, long& curl_global_flags){
 std::once_flag curl_init_flag;
 
 void setup_curl(boost::optional<const fe_map_t&> m) {
-  check_curl();
-
   long curl_global_flags = CURL_GLOBAL_ALL;
 
   #if defined(WITH_CURL_OPENSSL) && OPENSSL_API_COMPAT < 0x10100000L