From: Olivier Houchard Date: Wed, 19 Aug 2026 14:15:52 +0000 (+0200) Subject: MINOR: addons/wurfl: Forbid use with per tgroup fd tables X-Git-Tag: v3.5-dev5~3 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=a8480f9795225c0ce912be12a820a0ec9a024b17;p=haproxy.git MINOR: addons/wurfl: Forbid use with per tgroup fd tables It is not known if wurfl uses its own file descriptors, so for the time being, forbid its usage with tune.fd.tables per-thread-group. --- diff --git a/addons/wurfl/wurfl.c b/addons/wurfl/wurfl.c index 31a61c4a6..63c72291b 100644 --- a/addons/wurfl/wurfl.c +++ b/addons/wurfl/wurfl.c @@ -276,6 +276,11 @@ static int ha_wurfl_init(void) return ERR_WARN; } + if ((global.tune.options & GTUNE_NO_TG_FD_SHARING) && + global.nbtgroups > 1) { + ha_alert("WURFL is incompatible with tune.fd.tables per-thread-group\n"); + return (ERR_FATAL | ERR_ALERT); + } ha_notice("WURFL: Engine handler created - API version %s\n", wurfl_get_api_version() ); // set wurfl data file