- Mar 25, 2020
-
-
Petr Špaček authored
Intended usage: Quick resolution attempt with an empty cache. export QNAME=... export QTYPE=... sudo -E docker run -e QNAME -e QTYPE krestest:latest '-n' '-c' '/etc/knot-resolver/kresd.conf'
-
Petr Špaček authored
It creates new callback functions for every request which uses "callback chaining" but these should be rare.
-
Petr Špaček authored
It seems there is no reason to keep this function private in policy module.
-
Petr Špaček authored
It did not log through request->trace_log and is not very useful anyway.
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
DEBUG_IF accepts user-supplied function which decides which requests should be logged.
-
Petr Špaček authored
-
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.
-
Petr Špaček authored
-
Petr Špaček authored
We de-randomize qname letter case very early so kr_pkt_text() should see all lowercase. Any uppercase means mismatch. I've considered moving debug print to an earlier place but this way it is more visible so I like more.
-
Petr Špaček authored
-
- Mar 23, 2020
-
-
Tomas Krizek authored
fix strict aliasing problems See merge request !962
-
Vladimír Čunát authored
I tested that older compilers don't refuse this option: - gcc 4.8 (as that's the default in CentOS 7) - llvm 3.8 (year 2016 is enough, I hope)
-
- Mar 20, 2020
-
-
Vladimír Čunát authored
The issue here is that `char *` is not allowed to alias with `anyType *`. With gcc-10 in Fedora this now started to cause real problems and loading stats module segfaulted. Actually I can't see in standard (C11 6.5 par.7) that using `void *` is guaranteed to be correct, but at least it seems fine with gcc, and e.g. some standard functions like posix_memalign() use it in the same "dangerous" way.
-
Tomas Krizek authored
ci/debian-buster: Add docker-py to docker image See merge request !961
-
Lukas Jezek authored
-
- Mar 18, 2020
-
-
Tomas Krizek authored
ci/debian-buster: add libnghttp2 to docker image See merge request !960
-
Tomas Krizek authored
-
- Mar 17, 2020
-
-
Tomas Krizek authored
distro/tests: failure to refresh Leap15 repo is non-critical See merge request !959
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
doc: fix a broken internal link See merge request !958
-
- Mar 16, 2020
-
-
Vladimír Čunát authored
Reported on Turris forums: https://forum.turris.cz/t/dns-over-tcp-just-a-single-transaction/12003/21
-
- Mar 09, 2020
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Thanks to Tomas.
-
Tomas Krizek authored
-
Petr Špaček authored
compiler warning improvements See merge request !952
-
Petr Špaček authored
-
Tomas Krizek authored
ci: disable build check for EPEL8 (still unresolvable) See merge request !953
-
Tomas Krizek authored
-
- Mar 06, 2020
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Normally the types are equal, but that's not true e.g. on 32-bit systems and macOS.
-
Vladimír Čunát authored
I just saw a case with bad luajit includes that linked successfully even with some of the macros getting this warning.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-