From: David Carlier Date: Mon, 27 Nov 2017 11:55:59 +0000 (+0000) Subject: BUILD/MINOR: deviceatlas: enable thread support X-Git-Tag: v1.9-dev1~649 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e78915a47a6427d1fb4a5347da4f7021c7350a1b;p=thirdparty%2Fhaproxy.git BUILD/MINOR: deviceatlas: enable thread support DeviceAtlas detection being multi-thread safe, we enable the new thread feature support. Needs to be backported to 1.8 branch. --- diff --git a/src/da.c b/src/da.c index 0669cba2f4..685a79d196 100644 --- a/src/da.c +++ b/src/da.c @@ -121,12 +121,6 @@ static int init_deviceatlas(void) size_t atlasimglen; da_status_t status; - if (global.nbthread > 1) { - ha_alert("deviceatlas: multithreading is not supported for now.\n"); - err_code |= ERR_ALERT | ERR_FATAL; - goto out; - } - jsonp = fopen(global_deviceatlas.jsonpath, "r"); if (jsonp == 0) { ha_alert("deviceatlas : '%s' json file has invalid path or is not readable.\n",