Files
poky/meta/recipes-support
André Draszik 8c3ea68812 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: f4dbb4ce29fcd03e64c83efea39f32df437c21cc)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

(cherry picked from commit 41f1e44fce976c4140cda62a41349e91e69d04ef)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05 22:39:48 +00:00
..
2017-04-19 10:18:43 +01:00
2017-04-29 11:17:23 +01:00
2017-11-05 22:39:48 +00:00
2017-09-11 22:15:58 +01:00
2017-09-06 17:13:19 +01:00
2017-03-01 23:27:08 +00:00
2016-08-04 15:22:23 +01:00
2016-01-18 11:47:04 +00:00
2017-01-26 10:44:28 +00:00
2014-01-02 22:39:23 +00:00
2017-07-19 11:30:22 +01:00
2016-10-28 16:15:18 +01:00
2017-03-01 23:27:09 +00:00
2016-12-17 09:57:03 +00:00
2017-03-01 23:27:10 +00:00
2017-06-05 23:30:22 +01:00
2016-11-15 15:19:53 +00:00
2017-03-10 14:50:11 +00:00
2016-08-10 10:46:31 +01:00
2017-03-10 14:50:11 +00:00
2016-12-13 22:55:19 +00:00
2016-11-06 23:35:34 +00:00
2016-11-30 15:48:09 +00:00
2017-03-01 23:27:09 +00:00
2016-09-09 12:12:23 +01:00
2016-07-08 09:57:24 +01:00
2016-11-15 15:19:53 +00:00
2017-02-23 12:49:49 -08:00