]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #1913: ub_ctx_config is under circumstances thread-safe.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 2 Nov 2017 08:23:52 +0000 (08:23 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 2 Nov 2017 08:23:52 +0000 (08:23 +0000)
git-svn-id: file:///svn/unbound/trunk@4392 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
doc/libunbound.3.in

index 9292f09aba6b7d9d572f41366a7005918855100b..bf880705a4cbaf334359b87e2d4fe7785278282c 100644 (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.
index 8fd1b8967639b6281d6611be853dcffc7a84b703..e570b59329a2b55955b02f4f607f11d60ed3da0a 100644 (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.