- Dec 07, 2016
-
-
Ondřej Surý authored
-
- Nov 28, 2016
-
-
Vladimír Čunát authored
-
- Nov 14, 2016
-
-
Ondřej Surý authored
-
- Nov 08, 2016
-
-
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.
-
Vladimír Čunát authored
It causes lots of line changes, but it would be confusing to keep the current state over long term.
-
- Aug 25, 2016
-
-
Marek Vavruša authored
RTT tracking for all targets is also supported, but no loadbalancing is done based on that yet
-
- Aug 24, 2016
-
-
Ondřej Surý authored
-
Ondřej Surý authored
-
Ondřej Surý authored
-
Marek Vavruša authored
when doing fast retransmit, each address may be contacted 1-N times, but previously only cumulative RTT was tracked for the NS that sent the answer. now the approximate query start time is subtracted from cumulative RTT to give an idea how long it took since the query was actually sent, and all the NSs that didn't respond within their retransmit windows are penalised too
-
- Aug 23, 2016
-
-
Marek Vavruša authored
bcf3f4b5 made query_finalize() to be called on each outbound query before sending, so each retransmitted query got different 0x20 case and the only responses from the latest contacted NS matched. reverted back the old behaviour where query case is randomised when an outbound query is generated, not before sending
-
Marek Vavruša authored
REFUSED response no longer causes retry in iterator when operating in stub mode
-
Marek Vavruša authored
example: > daf.add 'forward 127.0.0.1@5353'
-
Ondřej Surý authored
-
- Aug 12, 2016
-
-
Grigorii Demidov authored
-
- Aug 11, 2016
-
-
Karel Slaný authored
EDNS data from the packet must be erased before attempting to send the query again.
-
Marek Vavruša authored
the cookies require libknot>=2.3, Makefile didn't check for that, and turning cookies off wasn't possible either
-
Karel Slaný authored
Introduced kr_rplan_push_empty() to create empty query for DNS cookies.
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
The control structure is part of the resolver context.
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-