summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorAndré Draszik <adraszik@tycoint.com>2017-09-04 10:42:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-05 15:01:01 +0100
commit21d81abfa13e5d422ce36f90cc5ac5bcf0a91e47 (patch)
tree2e02261cacdbb69899432fb42f9f6e4f55a9853c /meta/lib
parentc69722616840be627981ebc7e77c986c246d9f8d (diff)
downloadpoky-21d81abfa13e5d422ce36f90cc5ac5bcf0a91e47.tar.gz
curl: enable threaded resolver
Multi-threaded applications using libcurl crash on DNS timeouts when built using OE. The reason is as follows: By default, libcurl implements DNS timeouts using a timer (alarm()) and a pair of setjmp()/longjmp(). This approach is unsafe in multi-threaded applications for various reasons, as e.g. explained in the relevant man-pages. To avoid this, libcurl can be compiled with a built-in threaded resolver, or against the c-ares asynchronous resolver library. To keep extra dependencies to a minimum, and to mimic other distributions (debian at least), and because c-ares is not available in OE-core, add a PACKAGECONFIG to be able to enable use of of the built-in threaded resolver and enable it by default. (From OE-Core rev: 41f1e44fce976c4140cda62a41349e91e69d04ef) Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions