From: Baptiste Assmann Date: Sat, 12 Aug 2017 07:03:06 +0000 (+0200) Subject: MINOR: dns: duplicate entries in resolution wait queue for SRV records X-Git-Tag: v1.8-dev3~180 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20433271709517c5988ef28d6145f2cfe0e61a74;p=thirdparty%2Fhaproxy.git MINOR: dns: duplicate entries in resolution wait queue for SRV records This loop is useless and duplicates entries into the resolution queue for nothing. Entries are already added a bit sooner in the same function. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 437d9ef280..a8e54aa78c 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -8588,13 +8588,6 @@ out_uri_auth_compat: next_srv: newsrv = newsrv->next; } - { - struct dns_srvrq *srvrq; - - list_for_each_entry(srvrq, &curproxy->srvrq_list, list) { - dns_link_resolution(srvrq, OBJ_TYPE_SRVRQ, NULL); - } - } /* * Try to generate dynamic cookies for servers now.