- Dec 06, 2025
-
-
Vladimír Čunát authored
-
- Dec 05, 2025
-
-
Vladimír Čunát authored
It might happen that we have a stale PID file, e.g. after a crash, but some other process has taken the freed PID already.
-
Vladimír Čunát authored
-
- Dec 03, 2025
-
-
Vladimír Čunát authored
-
- Dec 02, 2025
-
-
Aleš Mrázek authored
Release 6.0.17 See merge request !1762
-
Vladimír Čunát authored
-
Frantisek Tobias authored
-
-
Vladimír Čunát authored
-
- Dec 01, 2025
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
It's just removing an assertion, and it does make sense to me. Also expose kr_rule_local_data_ins() in Lua, like other similar functions.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Otherwise we get use-after-free when attempting to close the cache after this failure causes the process to shut down.
-
Vladimír Čunát authored
In particular, I was now interested in `cache-gc` and incorrectly assumed that it's merged with `cache` (the C code didn't help, as they appear merged on that level).
-
Vladimír Čunát authored
-
Vladimír Čunát authored
With clang they'd cause lots of complaints: warning: '_Static_assert' with no message is a C23 extension [-Wc23-extensions]
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Also simplify the related code a little. I don't think this has any practical impact.
-
Vladimír Čunát authored
The code clearly assumes it isn't, and I checked that it never is called that way (and it would crash anyway).
-
-
Vladimír Čunát authored
Affects just clang, apparently. This is just a copy from knot-dns changes, doing a bit more than this resolver commit title says. See: knot-dns@ec4a2567 knot-dns@509d9d82
-
Vladimír Čunát authored
It seemed to bring more complexity than benefit. In many parts this meant revert to code before a few commits. It's slightly tricky that qry or req may be NULL in some cases, but I believe I've caught all of them by conditions, and moreover they're cases where it doesn't make sense to update kr_cache_top_*
-
Vladimír Čunát authored
Move the function up unchanged and use it on two places which have the exact lines as the function. Also fix its description.
-
Vladimír Čunát authored
Just by dropping some padding in the header. Also drop a long outdated part of comment on this.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
kru.h would be a bit complicated to adapt, so let's avoid it. I don't think uint32_t as return price will be an issue, though we might... e.g. add a static_assert() into top.c
-
-
-
As the resolver fixes the state now, and loss of data is to be expected on cache size change, vcunat downgraded the log severity of this.
-
-
-
-
-
-
-
-
-
Vladimír Čunát authored
-
-