]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: dns: Don't try to get the server lock if it's already held.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 6 Nov 2017 14:15:04 +0000 (15:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Nov 2017 17:34:24 +0000 (18:34 +0100)
commit55dcdf4c398b805770914ecfbe095c3b1b309ca2
tree39abf773980d9039fa080b542d70ebc5d1bba38a
parentf0c531ab5516d179a83a44b1a34b26ffde5e2f51
BUG/MINOR: dns: Don't try to get the server lock if it's already held.

dns_link_resolution() can be called with the server lock already held, so
don't attempt to lock it again in that case.
include/proto/dns.h
src/dns.c
src/server.c