- Sep 07, 2020
-
-
... in case of usage from kresd (GC does it a bit differently).
-
- Aug 07, 2020
-
-
Petr Špaček authored
It is very useful when debugging. This code gets executed only with special DEBUG policy so we do not need to worry about maximum performance.
-
- Aug 05, 2020
-
-
Vladimír Čunát authored
In particular this gets rid of last light user data inside kresd. It was still causing problems on some systems, for example Debian Sid. The error was the same: "bad light userdata pointer" from luajit, but note that the problem can still be triggered by lua libraries, e.g. cqueues.
-
- May 13, 2020
-
-
Vladimír Čunát authored
Now it works again with the latest gdb-9.1. As a side effect, some simplification was possible, so that some typedefs are newly defined at once with the underlying type.
-
- Mar 25, 2020
-
-
Petr Špaček authored
This new approach uses per-request variables in Lua and creates new callback for each DEBUG_IF call instead of each request.
-
Petr Špaček authored
Attempt to avoid duplicating ten lines in debug_logfinish_cb lead me to splitting kr_log_qverbose_impl into two functions kr_log_q and kr_log_req. This is another minor change to API exposed to modules.
-
Petr Špaček authored
Formerly both logs used slightly different formats and duplicated code. From now on verbose log and request tracing are generated using the same code. This required a small change to request trace_log_f definition so it might affect external modules.
-
- Feb 25, 2020
-
-
These files did not have GNU GPL v3 boilderplate in them so I've added machine readable tag with appropriate license.
-
- Jan 29, 2020
-
-
Vladimír Čunát authored
-
- Jan 17, 2020
- Dec 18, 2019
-
-
Lukas Jezek authored
-
- Dec 04, 2019
-
-
- written relatively defensively - act OK even if the API isn't used in an ideal way - CI lint:scan-build: bump the error count; It's only another instance of the mis-detected array_push(). - the removed stale note in modules/meson.build isn't really related
-
- Nov 28, 2019
-
-
Vladimír Čunát authored
The new way of transitioning to layer callbacks - done because of portability (mainly to aarch64) - is a bit expensive. This is a simple way of recovering that cost. Merge 603a24fc regressed speed a bit.
-
- Sep 20, 2019
- Jul 23, 2019
-
-
Vladimír Čunát authored
Somehow I didn't notice this field when adding ::add_selected. We probably never put anything into answer's ADDITIONAL, so noone's noticed a problem until now.
-
- Jul 10, 2019
-
-
Petr Špaček authored
Also the log now uses the same format query UID format as elsewhere.
-
- Jul 03, 2019
-
-
Petr Špaček authored
-
Petr Špaček authored
- Jun 13, 2019
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
... without light userdata and yet it should be efficient. Also with checkout layer, but I have no nice way of testing that one.
-
Vladimír Čunát authored
...when making calls from lua to C modules; use luaJIT FFI instead. This eliminates some cases of lua_pushlightuserdata().
-
- Apr 18, 2019
-
-
Vladimír Čunát authored
-
- Apr 11, 2019
-
-
Petr Špaček authored
This will allow modules like view etc. work in the same way with packets received over HTTP.
-
- Mar 12, 2019
-
-
Tomas Krizek authored
-
Tomas Krizek authored
-
- Mar 08, 2019
-
-
There is no reason to have two distinct functions to do the same task, especially if the Lua version did not print all the information. (Found and amended a bit by vcunat.)
-
- Mar 06, 2019
-
-
Petr Špaček authored
All cache operations are now counted. These are internal cache operations and do not map directly to number of queries or even number of RRs. Closes: !515
-
Petr Špaček authored
Function originally called kr_cache_sync() was in fact responsible for calling mdb_txn_commit() and not mdb_env_sync() which was confusing.
-
- Feb 25, 2019
-
-
Vladimír Čunát authored
and deduplicate the parsing logic.
-
- Jan 09, 2019
-
-
Petr Špaček authored
-
- Dec 11, 2018
-
-
Vladimír Čunát authored
It seems simpler, now that we have kr_rnd_buffered().
-
Vladimír Čunát authored
-
- Nov 26, 2018
- Nov 12, 2018
-
-
Vladimír Čunát authored
-
- Oct 31, 2018
-
-
We use it as relatively high-level function, often on user-input names, so it seems suitable that it does convert the case. This fixes cache.clear('Example.Org.'), and probably also negative trust anchors and policy uses.
-
- Aug 17, 2018
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
- Aug 14, 2018
-
-
Vladimír Čunát authored
-