From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp51.i.mail.ru (smtp51.i.mail.ru [94.100.177.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 6A6DB469719 for ; Thu, 5 Mar 2020 08:27:57 +0300 (MSK) Date: Thu, 5 Mar 2020 08:27:55 +0300 From: Kirill Yukhin Message-ID: <20200305052755.lxvwr5acwcmc7vgz@tarantool.org> References: <853c32f414c954d38b2621afc7babd57a6e031c4.1579605136.git.sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <853c32f414c954d38b2621afc7babd57a6e031c4.1579605136.git.sergepetrenko@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v2 1/2] build: link bundled libcurl with c-ares List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Petrenko Cc: tarantool-patches@dev.tarantool.org Hello, On 21 янв 14:54, Serge Petrenko wrote: > libcurl has a built-in threaded resolver used for asynchronous DNS > requests, however, when DNS server is slow to respond, the request still > hangs tarantool until it is finished. The reason is that curl calls > thread_join on the resolving thread internally upon timeout, making the > calling thread hang until resolution has ended. > Use c-ares as an asynchronous resolver instead to eliminate the problem. > > Closes #4591 I've checked your patch into 1.10, 2.2, 2.3 and master. -- Regards, Kirill Yukhin