Fix some issues with runtime socket because geo server splitting used invalid character

Add additional challenge, not enabled yet
This commit is contained in:
Thomas Lynch
2025-03-16 14:08:19 +11:00
parent a259d5189f
commit 488eb02210
14 changed files with 150 additions and 71 deletions

View File

@@ -2,7 +2,7 @@ package.path = package.path .. "./?.lua;/etc/haproxy/scripts/?.lua;/etc/haproxy/
local bot_check = require("bot-check")
local utils = require("utils")
local server_cn_split_regex = "([^;]+);(%u%u)$"
local server_cn_split_regex = "([^;]+)|(%u%u)$"
local backends_map = Map.new('/etc/haproxy/map/backends.map', Map._str)
function get_server_names(txn)