Ondřej Surý
9f7ba584cf
Don't preserve cache entries if new TTL is smaller than existing
...
Under certain circumstances, cache entries with equivalent rdataset
might not get replaced. Previously such entry would get preserved
regardless of the new TTL and expire time on the existing header would
get updated when the expire time was less than the expire time on the
existing header. Change the logic to preserve the existing header only
if the new expire time is larger than the existing one and replace the
existing cache entry when the new expire time is less than the existing
one.
Co-authored-by: Jinmei Tatuya <jtatuya@infoblox.com>
2025-08-26 18:26:34 +02:00
..
2025-08-22 16:31:17 +00:00
2025-08-15 07:22:52 +02:00
2023-08-21 18:39:53 +02:00
2025-02-22 16:19:00 +01:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-07-23 22:44:16 +02:00
2025-06-25 12:44:22 +10:00
2025-08-19 07:58:33 +02:00
2024-08-20 12:50:39 +00:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2023-02-07 23:48:22 -08:00
2025-02-25 12:53:25 -08:00
2025-08-15 07:22:52 +02:00
2025-08-19 07:58:33 +02:00
2025-05-27 21:08:09 -07:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-02-22 16:19:00 +01:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-07-23 22:44:16 +02:00
2025-06-19 07:15:20 +10:00
2025-06-19 08:13:07 +02:00
2025-06-19 07:00:53 +10:00
2024-12-18 13:10:39 +01:00
2025-06-19 07:15:20 +10:00
2024-12-18 13:10:39 +01:00
2025-02-22 16:19:00 +01:00
2025-08-19 07:58:33 +02:00
2024-11-19 12:27:22 +01:00
2025-04-02 18:06:52 +02:00
2025-02-25 12:17:34 +01:00
2025-08-19 07:58:33 +02:00
2025-08-04 15:38:17 +02:00
2024-11-19 12:27:22 +01:00
2025-05-21 00:50:08 +02:00
2025-02-25 12:53:25 -08:00
2025-05-21 00:50:08 +02:00
2025-02-25 12:17:34 +01:00
2024-11-19 12:27:22 +01:00
2025-08-19 07:58:33 +02:00
2025-08-21 16:00:19 +02:00
2025-05-20 09:52:35 +02:00
2024-11-19 12:27:22 +01:00
2025-08-26 15:32:53 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-07-09 15:27:38 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-06-11 10:30:12 +03:00
2025-08-19 07:58:33 +02:00
2025-02-25 12:53:25 -08:00
2025-07-10 13:52:59 +00:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-08-07 11:39:38 -07:00
2025-03-01 07:33:09 +01:00
2024-08-08 11:59:41 +02:00
2025-05-21 00:50:08 +02:00
2025-05-21 00:50:08 +02:00
2025-06-19 07:15:20 +10:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2023-12-20 17:21:14 +01:00
2025-08-26 15:32:53 +02:00
2025-08-26 15:32:53 +02:00
2024-12-18 13:10:39 +01:00
2025-08-26 18:26:34 +02:00
2025-07-09 15:27:38 +02:00
2025-08-19 14:18:44 +02:00
2025-08-05 17:27:44 +10:00
2025-08-15 07:22:52 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-05-27 21:08:09 -07:00
2025-08-18 12:36:47 +02:00
2025-08-26 15:32:53 +02:00
2025-05-28 17:22:32 -07:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-01-23 15:54:57 -08:00
2025-08-19 07:58:33 +02:00
2025-08-26 15:32:53 +02:00
2025-08-07 11:39:38 -07:00
2025-08-19 07:58:33 +02:00
2025-08-07 11:39:38 -07:00
2025-08-19 07:58:33 +02:00
2025-02-25 12:17:34 +01:00
2024-11-19 12:27:22 +01:00
2025-08-19 07:58:33 +02:00
2025-06-25 12:44:22 +10:00
2022-05-28 14:53:02 -07:00
2024-11-19 12:27:22 +01:00
2025-08-19 07:58:33 +02:00
2024-11-19 12:27:22 +01:00
2024-12-18 13:10:39 +01:00
2025-07-17 12:57:51 +02:00
2025-06-25 12:44:22 +10:00
2025-07-23 22:44:16 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2025-08-19 07:58:33 +02:00
2024-12-18 13:10:39 +01:00
2025-08-21 16:09:49 +02:00
2025-08-19 07:58:33 +02:00
2025-07-10 13:52:59 +00:00