Skip to content
Snippets Groups Projects
Commit 254e42ce authored by Serge Petrenko's avatar Serge Petrenko Committed by Kirill Yukhin
Browse files

build: link bundled libcurl with c-ares

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

(cherry picked from commit 23837076)
parent 13585d10
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment