From abcd441ccfcedceb66dc3f914accb2e3fdd0c8b4 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Wed, 19 Aug 2026 16:14:51 +0200 Subject: [PATCH] MINOR: addons/51d: Forbid use with per tgroup fd tables It is not known if 51d uses its own file descriptors, so for the time being, forbid its usage with tune.fd.tables per-thread-group. --- addons/51degrees/51d.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/51degrees/51d.c b/addons/51degrees/51d.c index ad49db1dd..37f00a645 100644 --- a/addons/51degrees/51d.c +++ b/addons/51degrees/51d.c @@ -932,6 +932,11 @@ static int init_51degrees(void) return (ERR_FATAL | ERR_ALERT); } + if ((global.tune.options & GTUNE_NO_TG_FD_SHARING) && + global.nbtgroups > 1) { + ha_alert("51Degrees is incompatible with tune.fd.tables per-thread-group\n"); + return (ERR_FATAL | ERR_ALERT); + } if (!LIST_ISEMPTY(&global_51degrees.property_names)) { i = 0; list_for_each_entry(name, &global_51degrees.property_names, list)