- Dec 07, 2016
-
-
Ondřej Surý authored
-
- Dec 05, 2016
-
-
Vladimír Čunát authored
This reverts commit 64f80706. TL;DR: it brought almost no benefits AFAIK and potential for problems.
-
Vladimír Čunát authored
See commits for details.
-
Grigorii Demidov authored
layer/pktcache: additional checking for cache entry rank was added See merge request !86
-
Grigorii Demidov authored
-
- Dec 02, 2016
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Fixes https://github.com/CZ-NIC/knot-resolver/issues/35.
-
- Nov 30, 2016
-
-
Vladimír Čunát authored
This reverts commit 64f80706. TL;DR: it brought almost no benefits AFAIK and potential for problems. The "portable bytecode" produced by luajit isn't compatible when (lib)luajit version changes or when some build-time configuration of it changes. If you mix these up, kresd fails to start.
-
- Nov 29, 2016
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Fixes #111. Compatibility: it needs a new libkres.so function. If a wrong version combination is attempted, the module just cleanly fails to load, though it writes a slightly confusing message "no such file or directory".
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
RFC7830 padding support on client->resolver DNSoverTLS communication. Adds new `net.tls_padding([padding])` option that will cause the answers to be aligned at *padding* boundaries.
-
- Nov 28, 2016
-
-
Vladimír Čunát authored
-
- Nov 25, 2016
-
-
Vladimír Čunát authored
-
- Nov 24, 2016
-
-
Vladimír Čunát authored
... and avoid returning a negative number.
-
Vladimír Čunát authored
... and avoid returning a negative number.
-
Vladimír Čunát authored
It seems a bit cleaner, though impact on size and load speed should not be noticeable. We simply install most of the lua code, as before, and I assume that we *do* want to keep that visibility, at least by default. Suggested on !57.
-
- Nov 22, 2016
-
-
Ondřej Surý authored
lib/root-hints.inc: improve regeneration safeguards - Drop all make dependencies, so it's only generated when the file goes missing (i.e. was explicitly deleted). - Add checks into the generator to avoid producing empty strings on failures. It compiled correctly and wasn't easy to debug. See merge request !79
-
Vladimír Čunát authored
- Drop all make dependencies, so it's only generated when the file goes missing (i.e. was explicitly deleted). - Add checks into the generator to avoid producing empty strings on failures. It compiled correctly and wasn't easy to debug.
-
- Nov 21, 2016
-
-
Vladimír Čunát authored
See the commit messages for details and merge request !67
-
- Nov 15, 2016
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
- Nov 14, 2016
-
-
Vladimír Čunát authored
We only want this when deleted explicitly.
-
Vladimír Čunát authored
It seems a bit cleaner, though impact on size and load speed should not be noticeable. We simply install most of the lua code, as before, and I assume that we *do* want to keep that visibility, at least by default. Suggested on !57.
-
Vladimír Čunát authored
lua ffi bindings: fix incorrect structs Some structures have changed but lua was still using the old ABI. I think no our lua code used the fields misplaced due to this, except an example in documentation. I didn't check much of the ABI in there. I wish I knew some (half-)automatic way how to do that. See merge request !68
-
Ondřej Surý authored
-
- Nov 13, 2016
-
-
Ondřej Surý authored
Copy new query flags from lib/rplan.h to lua See merge request !75
-
Daniel Kahn Gillmor authored
-
Ondřej Surý authored
whitespace fixes in daemon/tls.c See merge request !74
-
Ondřej Surý authored
-
- Nov 12, 2016
-
-
Ondřej Surý authored
Allow to override hostname() with a lua call hostname("example.com") This changes lua hostname() call to accept optional parameter with new hostname. This is needed to override possibly wrong name used for ephemeral certs. See merge request !72
-
Ondřej Surý authored
-
- Nov 10, 2016
-
-
Grigorii Demidov authored
-
Vladimír Čunát authored
Fix osx sed See merge request !70
-
Vladimír Čunát authored
That way we should notice breakages like this before merging.
-
Vladimír Čunát authored
\t escape is a non-standard escape sequence. Thanks Marek for reporting! http://unix.stackexchange.com/a/145385/41413
-
-
- Nov 08, 2016
-
-
Vladimír Čunát authored
Some structures have changed but lua was still using the old ABI. I think no our lua code used the fields misplaced due to this, except an example in documentation. I didn't check much of the ABI in there. I wish I knew some (half-)automatic way how to do that.
-
Vladimír Čunát authored
- The API and ABI for modules changes slightly (details below). KR_MODULE_API is bumped to avoid loading incompatible code. We have bumped libkres ABIVER since the last release 1.1.1, so leaving that one intact. - Make KR_STATE_YIELD not reuse 0 value anymore. It's easy to e.g. return kr_ok() by mistake. - struct kr_layer_t: * ::mm was unused, uninitialized, etc. * Make ::state an int, as it was everywhere else. * void *data was ugly and always containing struct kr_request * - struct kr_layer_api: * Drop the void* parameter from ::begin, as it was only used for the request which is available as ctx->req anyway (formerly ctx->data). * Drop ::fail. It wasn't even called. Modules can watch for KR_STATE_FAIL in ::finish. - Document the apparent meaning of the layer interface, deduced mainly from the way it's used in the code. Caveats: * enum knot_layer_state handling seems to assume that it holds exactly one of the possibilities at a time. The cookie module does NOT follow that (intentionally), apparently depending on the exact implementation of the handling at that moment. It feels fragile. * I was unable to deduce a plausible description of when ::reset is called. It's practically unused in modules, too.
-