From: paulborile Date: Thu, 18 Apr 2019 10:18:54 +0000 (+0200) Subject: MINOR: wurfl: enabled multithreading mode X-Git-Tag: v2.0-dev3~198 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7714b1260478f286da9adf6cbf9ea2e6e61aab32;p=thirdparty%2Fhaproxy.git MINOR: wurfl: enabled multithreading mode Initially excluded multithreaded mode is completely supported (libwurfl is fully MT safe). Internal tests now are run also with multithreading enabled. --- diff --git a/src/wurfl.c b/src/wurfl.c index 5de33b4a8d..325cba6496 100644 --- a/src/wurfl.c +++ b/src/wurfl.c @@ -277,11 +277,6 @@ static int ha_wurfl_init(void) return ERR_WARN; } - if (global.nbthread > 1) { - ha_alert("WURFL: multithreading is not supported for now.\n"); - return (ERR_FATAL | ERR_ALERT); - } - if (wurfl_set_root(global_wurfl.handle, global_wurfl.data_file) != WURFL_OK) { ha_warning("WURFL: Engine setting root file failed - %s\n", wurfl_get_error_message(global_wurfl.handle)); send_log(NULL, LOG_WARNING, "WURFL: Engine setting root file failed - %s\n", wurfl_get_error_message(global_wurfl.handle));