]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: resolvers: Wait a bit before calling the xprt prepare_srv
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 29 May 2026 17:38:03 +0000 (19:38 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 29 May 2026 17:20:23 +0000 (19:20 +0200)
commit30811a3bace31139c0c3e043752f5ff5f82c0fd8
tree236017b6b426272fa0245a58a9ce75577f06ff9a
parent839b87ac9fb6e1de6772b28eee797f62ae2363ce
BUG/MEDIUM: resolvers: Wait a bit before calling the xprt prepare_srv

We can't call call the prepare_srv() method too early, because it needs
global.nbthreads to be properly set, which won't be true at post_parse
time. So instead, make it so that code runs later, as a post_check
function, when it will be safe to do so.

This should be backported up to 2.8.
This should fix github issue #3402
src/resolvers.c