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-10-18 07:21:28 +02:00
2021-10-12 07:38:30 +02:00
2021-10-08 17:22:26 +02:00
2021-04-28 10:51:08 +02:00
2021-09-30 16:37:05 +02:00
2021-05-08 12:29:51 +02:00
2021-10-15 14:12:19 +02:00
2021-08-25 16:14:14 +02:00
2021-06-18 15:48:20 +02:00
2020-09-25 17:54:48 +02:00
2021-09-23 15:27:25 +02:00
2021-10-13 11:28:08 +02:00
2021-04-26 10:42:58 +02:00
2021-09-27 09:47:40 +02:00
2021-10-15 14:12:19 +02:00
2021-10-07 01:36:51 +02:00
2021-03-18 15:51:12 +01:00
2020-09-16 20:13:13 +02:00
2021-10-18 07:17:04 +02:00
2021-02-13 09:43:17 +01:00
2021-10-15 14:12:19 +02:00
2021-04-10 19:27:41 +02:00
2021-10-18 07:17:04 +02:00
2021-10-08 17:22:26 +02:00
2021-10-08 17:22:26 +02:00
2021-10-07 01:41:14 +02:00
2021-10-15 17:16:11 +02:00
2021-10-08 17:22:26 +02:00
2021-04-07 18:18:37 +02:00
2021-10-20 17:52:17 +02:00
2021-10-08 17:22:26 +02:00
2021-08-16 12:37:59 +02:00
2021-09-17 17:22:05 +02:00
2021-10-08 17:22:26 +02:00
2021-10-08 17:22:26 +02:00
2021-10-08 17:22:26 +02:00
2021-10-08 17:22:26 +02:00
2021-10-08 17:22:26 +02:00
2021-10-15 14:12:19 +02:00
2021-08-16 12:37:59 +02:00
2021-10-08 17:22:26 +02:00
2021-10-15 14:12:19 +02:00
2021-08-16 12:37:59 +02:00
2021-10-08 17:22:26 +02:00
2021-10-08 17:22:26 +02:00
2021-09-20 16:06:58 +02:00
2021-10-07 01:41:14 +02:00
2021-10-15 14:12:19 +02:00
2021-09-23 16:13:17 +02:00
2021-09-28 16:21:25 +02:00
2021-08-19 23:38:18 +02:00
2021-10-18 07:26:19 +02:00
2021-10-15 14:12:19 +02:00
2021-10-07 01:36:51 +02:00
2021-10-18 07:26:19 +02:00
2021-03-03 05:07:10 +01:00
2021-04-02 17:48:42 +02:00
2021-04-10 19:27:41 +02:00
2020-11-05 19:27:09 +01:00
2021-10-15 14:12:19 +02:00
2021-10-15 14:12:19 +02:00
2021-10-19 15:02:42 +02:00
2021-08-30 06:14:32 +02:00
2021-10-14 16:38:07 +02:00
2021-10-16 14:41:09 +02:00
2021-10-15 14:12:19 +02:00
2021-09-28 16:21:25 +02:00
2021-09-23 16:19:36 +02:00
2021-04-21 09:20:17 +02:00
2021-10-18 16:02:31 +02:00
2021-06-22 18:43:14 +02:00
2021-06-22 18:43:14 +02:00
2021-09-22 07:24:02 +02:00
2021-08-16 12:37:59 +02:00
2021-06-22 18:43:14 +02:00
2021-10-16 14:58:30 +02:00
2021-10-15 14:12:19 +02:00
2021-04-21 09:20:17 +02:00
2021-10-01 18:36:29 +02:00
2021-05-25 08:44:45 +02:00
2021-04-15 17:05:38 +02:00
2021-06-28 16:29:44 +02:00
2021-10-15 14:12:19 +02:00
2021-10-15 14:12:19 +02:00
2021-10-15 14:12:19 +02:00
2021-09-23 16:25:47 +02:00
2021-10-13 16:38:56 +02:00
2021-10-07 01:36:51 +02:00
2021-10-15 14:12:19 +02:00
2021-09-11 19:58:45 +02:00
2021-05-08 13:55:40 +02:00
2021-10-08 17:53:12 +02:00
2021-04-07 18:18:37 +02:00
2021-10-08 17:22:26 +02:00
2021-10-14 21:22:52 +02:00
2021-10-14 21:27:48 +02:00
2021-10-16 14:54:19 +02:00
2021-10-14 21:22:52 +02:00
2021-10-14 21:22:52 +02:00
2021-10-14 21:22:52 +02:00
2021-10-14 21:22:52 +02:00
2021-10-15 14:33:35 +02:00
2021-10-08 15:45:57 +02:00
2021-10-08 15:30:18 +02:00
2021-09-23 15:27:25 +02:00
2021-08-31 18:37:13 +02:00
2020-12-23 11:57:26 +01:00
2020-12-23 11:57:26 +01:00
2021-09-23 15:27:25 +02:00
2021-10-08 15:59:02 +02:00
2021-09-23 15:27:25 +02:00
2021-10-07 01:41:14 +02:00
2020-08-14 07:53:40 +02:00
2021-10-20 17:54:01 +02:00
2021-04-21 09:20:17 +02:00
2021-10-15 14:12:19 +02:00
2021-10-15 14:12:19 +02:00
2021-10-18 07:17:04 +02:00
2021-10-01 18:36:29 +02:00
2021-06-15 16:52:42 +02:00
2021-04-21 09:20:17 +02:00
2021-10-01 18:36:29 +02:00
2021-09-24 15:07:50 +02:00
2021-10-14 21:27:48 +02:00
2021-10-14 21:27:48 +02:00
2021-10-07 01:36:51 +02:00
2021-10-07 01:36:51 +02:00
2021-05-17 10:50:24 +02:00
2021-10-07 01:41:14 +02:00
2021-10-07 01:41:14 +02:00
2021-08-26 19:48:34 +02:00
2021-10-15 14:12:19 +02:00
2021-10-15 14:12:19 +02:00
2021-10-07 01:41:14 +02:00
2021-10-19 11:29:30 +02:00
2021-10-08 17:22:26 +02:00
2021-07-06 11:44:04 +02:00
2021-10-15 14:12:19 +02:00
2021-10-07 01:36:51 +02:00
2021-10-20 14:35:38 +02:00
2021-10-08 17:22:26 +02:00
2021-10-08 17:22:26 +02:00
2021-10-13 11:28:08 +02:00
2021-05-07 11:51:26 +02:00
2021-01-04 10:09:02 +01:00
2021-05-11 17:24:32 +02:00
2021-10-15 14:12:19 +02:00
2021-10-08 17:22:26 +02:00
2021-03-19 15:33:04 +01:00
2021-10-18 07:26:19 +02:00