- Fix #1913: ub_ctx_config is under circumstances thread-safe.

git-svn-id: file:///svn/unbound/trunk@4392 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-11-02 08:23:52 +00:00
parent 8cf7e424e2
commit d41209512e
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2 November 2017: Wouter
- Fix #1913: ub_ctx_config is under circumstances thread-safe.
31 October 2017: Wouter
- Document that errno is left informative on libunbound config read
fail.

View file

@ -203,7 +203,10 @@ without trailing ':'. The returned value must be free(2)d by the caller.
A power\-user interface that lets you specify an unbound config file, see
\fIunbound.conf\fR(5), which is read for configuration. Not all options are
relevant. For some specific options, such as adding trust anchors, special
routines exist.
routines exist. This function is thread-save only if a single instance of
ub_ctx* exists in the application, If several instances exist the
application has to ensure that ub_ctx_config is not called in parallel by
the different instances.
.TP
.B ub_ctx_set_fwd
Set machine to forward DNS queries to, the caching resolver to use.