BUG/MINOR: dns: Fix SRV records with the new thread code.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 31 Oct 2017 14:21:19 +0000 (15:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 14:47:55 +0000 (15:47 +0100)
commitd16bfe6c01d50d4dee8e788a82dd241f68419ae6
tree04be8558f827dd957c00d0defbb0f74916e1e6bf
parenta5e0590b80502b29d38ce2b704231bdcd103cda5
BUG/MINOR: dns: Fix SRV records with the new thread code.

srv_set_fqdn() may be called with the DNS lock already held, but tries to
lock it anyway. So, add a new parameter to let it know if it was already
locked or not;
include/proto/server.h
src/dns.c
src/server.c