Willy Tarreau 239675e4a9 CLEANUP: resolvers: simplify resolv_link_resolution() regarding requesters
This function allocates requesters by hand for each and every type. This
is complex and error-prone, and it doesn't even initialize the list part,
leaving dangling pointers that complicate debugging.

This patch introduces a new function resolv_get_requester() that either
returns the current pointer if valid or tries to allocate a new one and
links it to its destination. Then it makes use of it in the function
above to clean it up quite a bit. This allows to remove complicated but
unneeded tests.
2021-10-20 17:54:01 +02:00
..
2021-05-08 12:29:51 +02:00
2020-09-25 17:54:48 +02:00
2021-10-18 07:17:04 +02:00
2021-10-18 07:17:04 +02:00
2021-09-17 17:22:05 +02:00
2021-09-23 15:27:25 +02:00
2021-10-18 07:17:04 +02:00
2021-09-24 15:07:50 +02:00