Ondřej Surý and Nicki Křížek
dfcadc2085
Add a limit to the number of RR types for single name
...
Previously, the number of RR types for a single owner name was limited
only by the maximum number of the types (64k). As the data structure
that holds the RR types for the database node is just a linked list, and
there are places where we just walk through the whole list (again and
again), adding a large number of RR types for a single owner named with
would slow down processing of such name (database node).
Add a hard-coded limit (100) to cap the number of the RR types for a single
owner. The limit can be changed at the compile time by adding following
define to CFLAGS:
-DDNS_RBTDB_MAX_RTYPES=<limit>
2024-07-24 10:56:59 +02:00
..
2024-05-17 16:45:43 -07:00
2022-11-29 10:30:34 +01:00
2024-05-17 16:45:43 -07:00
2024-04-23 16:59:58 +02:00
2023-10-17 17:56:31 +02:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2024-03-06 19:17:32 +01:00
2024-01-05 11:52:05 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2024-03-06 19:17:32 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2023-02-01 12:07:11 +01:00
2022-11-29 10:30:34 +01:00
2022-08-31 15:49:25 -07:00
2024-02-01 21:51:07 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2023-01-11 13:42:00 +00:00
2022-11-29 10:30:34 +01:00
2023-02-18 10:27:11 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2023-01-27 16:09:06 +01:00
2023-04-03 17:48:31 +02:00
2024-03-07 09:57:48 +01:00
2023-10-17 17:56:31 +02:00
2022-12-08 11:20:35 +11:00
2024-04-07 05:22:59 +00:00
2024-01-05 11:52:05 +01:00
2023-09-18 16:40:54 +10:00
2023-10-17 17:56:31 +02:00
2022-12-08 11:20:35 +11:00
2023-01-19 11:28:10 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2023-10-28 09:01:51 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2023-10-17 17:56:31 +02:00
2024-03-06 19:17:32 +01:00
2024-07-24 10:56:59 +02:00
2022-11-29 10:30:34 +01:00
2023-09-22 17:10:25 +02:00
2022-11-29 10:30:34 +01:00
2024-07-24 10:56:57 +02:00
2023-01-19 11:28:10 +01:00
2024-06-06 18:28:35 +02:00
2023-10-17 17:56:31 +02:00
2023-11-03 03:44:43 +11:00
2024-01-05 11:52:05 +01:00
2022-12-08 11:20:35 +11:00
2024-04-23 16:59:58 +02:00
2024-03-06 19:17:32 +01:00
2024-03-06 19:17:32 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2024-01-05 11:28:25 +01:00
2023-12-19 12:55:03 +11:00
2024-02-01 21:51:07 +01:00
2023-04-03 17:48:31 +02:00
2023-07-24 11:02:37 +02:00
2024-04-23 16:59:58 +02:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00