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.
This commit is contained in:
Baptiste Assmann 2017-08-12 09:03:06 +02:00 committed by Willy Tarreau
parent 63a2811077
commit 2043327170

View File

@ -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.