]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
worker_resolve: truly honor the options parameter
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 15 Mar 2017 15:37:36 +0000 (16:37 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 15 Mar 2017 17:20:30 +0000 (18:20 +0100)
commitd37ec7e25004f19777562d102b4cd7ec77ddf39d
tree5db6ebdd9d7558d845907a4abd3ac0f7097f6907
parent91dd2c6da506894b48cb3a83a2517faab75efadc
worker_resolve: truly honor the options parameter

It was being overwritten by options from struct kr_context;
now the flags are combined (by set union).

For example, the NO_CACHE flag is important for the prefetch module and
for trust anchor updates.
daemon/worker.c
daemon/worker.h