mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
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.
This commit is contained in:
parent
c81b9bf7b4
commit
7714b12604
@ -277,11 +277,6 @@ static int ha_wurfl_init(void)
|
|||||||
return ERR_WARN;
|
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) {
|
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));
|
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));
|
send_log(NULL, LOG_WARNING, "WURFL: Engine setting root file failed - %s\n", wurfl_get_error_message(global_wurfl.handle));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user