- Oct 12, 2018
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
- align the numbers to 5+2 digits (pad with zeros), and use unsigned - add numbers for the '(NOT) classified as SECURE' message
-
-
Vladimír Čunát authored
lint:clang-scan-build reported: > warning: The code calls sizeof() on a pointer type. > This can produce an unexpected result but in our case it's intentional. (Yes, using pointers as keys in trie isn't very pretty.)
-
Vladimír Čunát authored
Only count incoming requests into this, as before "some simplifications" commit.
-
daemon/worker: avoid usage of qr_tasklist in struct request_ctx as it is redundant; use direct pointer to task instead
-
-
-
Vladimír Čunát authored
There are some (other) tests in knot-dns repo, but having some more shouldn't hurt, especially as we've added some new functions now.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
It's focused on FIFO queue usage. FIXME: unit tests
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
This prompted a slight reorganization inside trie.c
-
-
-
Vladimír Čunát authored
They don't seem to be useful individually, so why not clean up.
-
Vladimír Čunát authored
- Some (potentially) unused vars were left behind. - The two on_* functions are identical except for the uv types passed, and those are surely the same in the part we use, but it's not worth to deduplicate when these functions are only two and so simple. - lint:c was complaining about the uv_tcp_t malloc().
-
Vladimír Čunát authored
Also don't allocate much memory for cookies if we compile them out.
-
Vladimír Čunát authored
The support hasn't landed in libuv over all the years, and we've been still reserving memory for it in advance. Also comment on the singleton buffer usage.
-
Vladimír Čunát authored
I did NOT remove this one, as in a quick profile that would be increase in roughly 0.5% time in malloc, so that's possibly justifiable. (And this one is much less obstructing to splitting the worker code.)
-
Vladimír Čunát authored
See the message in parent commit.
-
Vladimír Čunát authored
A quick profiling showed no change in performance, and in particular no change in time spent in malloc/free. Some of the types in the union differed in size by a multiple. If their performance won't be satisfying, replacements should be considered first (e.g. jemalloc) before rolling our own stuff.
-
-
-
Vladimír Čunát authored
-
-
-
-
-
-
-
-
-
daemon: logic around struct session was relocated to separate module; input data buffering scheme was changed (libuv); attempt was made to simplify processing of the stream
-
- Oct 10, 2018
-
-
Vladimír Čunát authored
-
- Oct 04, 2018
-
-
Vladimír Čunát authored
I believe that's what most users want; practical motivation: https://forum.turris.cz/t/kresd-responds-to-hints-with-nxdomain-for-aaaa-requests/8353
-
- Sep 20, 2018
-
-
Vladimír Čunát authored
-
(vcunat modified the wording slightly)
-
- Sep 17, 2018
-
-
Vladimír Čunát authored
-