BUG/MINOR: resolvers: Use resolver's lock in resolv_srvrq_expire_task()
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Jun 2021 07:05:49 +0000 (09:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Jun 2021 07:15:35 +0000 (09:15 +0200)
commite886dd5c32aa1bc99acf48c5bb1826f80d96923d
treef0516b141ac0b861070b9ea71877aaf208e61717
parent655dec81bde67a3e1acb146b18e6a038fe8c797b
BUG/MINOR: resolvers: Use resolver's lock in resolv_srvrq_expire_task()

The commit dcac41806 ("BUG/MEDIUM: resolvers: Add a task on servers to check
SRV resolution status") introduced a type. In resolv_srvrq_expire_task()
function, the resolver's lock must be used instead of the resolver itself.

This patch must be backported with the patch above (at least as far as 2.2).
src/resolvers.c