diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-07-14 10:53:27 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-12-13 10:58:33 +0100 |
commit | a4455c78c47a09e5d30bc6e212b4afb71aff5aab (patch) | |
tree | 07b8babc969621e1331f66505c6f00501a64eb51 /daemon/bindings | |
parent | cache.max_ttl(): lower the default from six days to one day (diff) | |
download | knot-resolver-a4455c78c47a09e5d30bc6e212b4afb71aff5aab.tar.xz knot-resolver-a4455c78c47a09e5d30bc6e212b4afb71aff5aab.zip |
TTL bounds: improve the logic
- apply to first (uncached) answer already
- don't extend over signature validity
Nit: the tests were using too high TTL (RFCs disallow the "sign bit").
It was working because (manual) cache-insertion was applying bounds,
but now the bounds don't get applied anymore, so it would fail.
Diffstat (limited to 'daemon/bindings')
0 files changed, 0 insertions, 0 deletions