From: Wouter Wijngaards Date: Thu, 2 Nov 2017 08:23:52 +0000 (+0000) Subject: - Fix #1913: ub_ctx_config is under circumstances thread-safe. X-Git-Tag: release-1.7.0rc1~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d41209512e06de1a99b2df829b7fcd53b6b471d5;p=thirdparty%2Funbound.git - Fix #1913: ub_ctx_config is under circumstances thread-safe. git-svn-id: file:///svn/unbound/trunk@4392 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 9292f09ab..bf880705a 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/doc/libunbound.3.in b/doc/libunbound.3.in index 8fd1b8967..e570b5932 100644 --- a/doc/libunbound.3.in +++ b/doc/libunbound.3.in @@ -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.