Christopher Faulet
81ba74ae50
BUG/MEDIUM: resolvers: Make 1st server of a template take part to SRV resolution
...
The commit 3406766d5 ("MEDIUM: resolvers: add a ref between servers and srv
request or used SRV record") introduced a regression. The first server of a
template based on SRV record is no longer resolved. The same bug exists for
a normal server based on a SRV record.
In fact, the server used during parsing (used as reference when a
server-template line is parsed) is never attached to the corresponding srvrq
object. Thus with following lines, no resolution is performed because
"srvrq->attached_servers" is empty:
server-template test 1 _http.domain.tld resolvers dns ...
server test1 _http.domain.tld resolvers dns ...
This patch should fix the issue #1295 (but not confirmed yet it is the same
bug). It must be backported everywhere the above commit is.
2021-06-29 20:52:37 +02:00
..
2021-04-21 09:20:17 +02:00
2021-06-15 16:52:42 +02:00
2021-05-13 10:00:17 +02:00
2021-04-28 10:51:08 +02:00
2021-05-31 10:51:09 +02:00
2021-05-08 12:29:51 +02:00
2021-06-24 10:52:31 +02:00
2021-04-13 17:28:13 +02:00
2021-06-18 15:48:20 +02:00
2020-09-25 17:54:48 +02:00
2021-04-26 10:42:58 +02:00
2021-06-15 16:52:42 +02:00
2021-06-15 16:52:42 +02:00
2021-06-18 16:42:26 +02:00
2021-03-18 15:51:12 +01:00
2020-09-16 20:13:13 +02:00
2021-06-17 16:07:10 +02:00
2021-02-13 09:43:17 +01:00
2021-06-25 08:55:39 +02:00
2021-04-10 19:27:41 +02:00
2021-06-24 10:52:31 +02:00
2021-05-31 10:51:04 +02:00
2021-06-16 18:30:42 +02:00
2021-04-27 14:11:26 +02:00
2021-05-07 11:51:26 +02:00
2020-06-11 10:18:59 +02:00
2021-04-07 18:18:37 +02:00
2021-06-23 12:21:47 +02:00
2021-04-19 15:24:33 +02:00
2020-06-11 09:31:11 +02:00
2020-06-11 09:31:11 +02:00
2020-06-11 09:31:11 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 09:31:11 +02:00
2020-06-11 09:31:11 +02:00
2020-06-11 09:31:11 +02:00
2020-06-11 09:31:11 +02:00
2020-06-16 11:30:33 +02:00
2021-06-08 11:40:44 +02:00
2021-04-10 19:27:41 +02:00
2021-04-07 18:18:37 +02:00
2021-04-10 19:27:41 +02:00
2021-04-07 18:18:37 +02:00
2021-04-08 20:11:58 +02:00
2021-04-21 09:20:17 +02:00
2021-06-07 17:19:16 +02:00
2020-06-11 10:18:59 +02:00
2021-05-08 20:35:39 +02:00
2021-05-21 09:59:00 +02:00
2020-12-21 11:24:48 +01:00
2021-06-10 08:57:55 +02:00
2021-06-22 18:43:14 +02:00
2021-03-03 05:07:10 +01:00
2021-04-28 17:44:37 +02:00
2021-04-01 11:06:48 +02:00
2021-06-17 09:02:16 +02:00
2021-01-28 16:37:14 +01:00
2021-04-28 10:51:08 +02:00
2021-06-22 18:43:14 +02:00
2020-06-11 10:18:56 +02:00
2021-05-08 10:52:12 +02:00
2021-05-08 20:35:39 +02:00
2021-03-03 05:07:10 +01:00
2020-06-11 10:18:59 +02: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-06-25 16:11:58 +02:00
2021-06-25 16:11:58 +02:00
2021-01-29 13:26:02 +01:00
2021-06-11 16:57:34 +02:00
2021-06-07 17:19:16 +02:00
2021-05-31 10:51:08 +02:00
2021-01-21 15:21:12 +01:00
2021-06-11 14:05:34 +02:00
2021-04-21 09:20:17 +02:00
2021-06-22 18:43:14 +02:00
2021-06-22 18:43:14 +02:00
2021-06-22 18:43:14 +02:00
2021-06-22 18:43:14 +02:00
2021-06-22 18:43:14 +02:00
2021-06-15 16:52:42 +02:00
2021-06-11 17:32:03 +02:00
2021-04-21 09:20:17 +02:00
2021-05-09 06:45:16 +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-06-11 14:15:48 +02:00
2021-06-16 15:06:43 +02:00
2021-06-17 08:43:43 +02:00
2021-04-10 19:29:26 +02:00
2021-06-15 16:52:42 +02:00
2021-06-15 16:52:42 +02:00
2020-06-11 10:18:59 +02:00
2021-05-25 08:44:45 +02:00
2021-05-08 13:55:40 +02:00
2021-06-15 16:52:42 +02:00
2021-04-07 18:18:37 +02:00
2021-06-10 17:46:50 +02:00
2021-04-07 18:07:49 +02:00
2021-04-07 18:07:49 +02:00
2021-04-07 18:07:49 +02:00
2021-05-08 13:59:56 +02:00
2021-03-18 18:30:29 +01:00
2021-04-07 18:07:49 +02:00
2021-06-11 16:57:34 +02:00
2021-06-24 10:52:31 +02:00
2021-01-04 12:31:28 +01:00
2021-06-24 16:00:18 +02:00
2020-12-23 11:57:26 +01:00
2020-12-23 11:57:26 +01:00
2021-01-06 16:26:50 +01:00
2021-04-21 09:20:17 +02:00
2020-12-23 11:57:26 +01:00
2021-04-07 18:07:49 +02:00
2020-08-14 07:53:40 +02:00
2021-06-24 17:15:33 +02:00
2021-04-21 09:20:17 +02:00
2021-06-15 16:52:42 +02:00
2021-06-17 16:52:35 +02:00
2021-06-29 20:52:37 +02:00
2021-05-08 13:03:04 +02:00
2021-06-15 16:52:42 +02:00
2021-04-21 09:20:17 +02:00
2021-06-17 16:07:10 +02:00
2021-05-14 08:44:52 +02:00
2021-04-07 18:10:36 +02:00
2021-04-07 18:10:36 +02:00
2021-04-07 18:07:49 +02:00
2021-06-18 16:42:25 +02:00
2021-05-17 10:50:24 +02:00
2021-06-09 17:10:13 +02:00
2021-06-18 16:42:25 +02:00
2021-05-08 12:52:56 +02:00
2021-06-22 18:43:14 +02:00
2021-05-31 10:50:46 +02:00
2021-06-11 16:04:28 +02:00
2021-06-25 16:11:53 +02:00
2021-05-08 20:27:08 +02:00
2021-06-28 07:12:22 +02:00
2021-05-31 10:51:02 +02:00
2021-04-19 08:31:05 +02:00
2021-06-25 14:03:45 +02:00
2021-05-08 20:35:39 +02:00
2021-04-28 17:43:55 +02:00
2021-06-08 10:56:10 +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-06-02 11:55:14 +02:00
2020-06-16 23:36:04 +02:00
2021-05-08 12:29:01 +02:00
2021-03-19 15:33:04 +01:00
2021-05-10 07:40:27 +02:00