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.
This commit is contained in:
Olivier Houchard authored and Olivier Houchard committed 2026-08-19 16:27:42 +02:00
1 parent ddf20dc96a
commit abcd441ccf
1 file changed
+5
+5
View File
@@ -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)