mirror of https://github.com/getdnsapi/getdns.git
thread instead of a process for ub_fd() signalling
This commit is contained in:
parent
afdf25340c
commit
a3f02905b0
|
@ -8,6 +8,7 @@
|
||||||
Stub mode will be the default. Removes the dependency on libunbound
|
Stub mode will be the default. Removes the dependency on libunbound
|
||||||
* --with-getdns_query compiles and installs the getdns_query tool too
|
* --with-getdns_query compiles and installs the getdns_query tool too
|
||||||
* Fix assert on context destruction from a callback in stub mode too.
|
* Fix assert on context destruction from a callback in stub mode too.
|
||||||
|
* Use a thread instead of a process for running the unbound event loop.
|
||||||
|
|
||||||
* 2015-07-18: Version 0.3.1
|
* 2015-07-18: Version 0.3.1
|
||||||
* Fix repeating rdata fields
|
* Fix repeating rdata fields
|
||||||
|
|
|
@ -1106,6 +1106,7 @@ rebuild_ub_ctx(struct getdns_context* context) {
|
||||||
}
|
}
|
||||||
/* setup */
|
/* setup */
|
||||||
context->unbound_ctx = ub_ctx_create();
|
context->unbound_ctx = ub_ctx_create();
|
||||||
|
(void) ub_ctx_async(context->unbound_ctx, 1)
|
||||||
context->unbound_ta_set = 0;
|
context->unbound_ta_set = 0;
|
||||||
if (!context->unbound_ctx) {
|
if (!context->unbound_ctx) {
|
||||||
return GETDNS_RETURN_MEMORY_ERROR;
|
return GETDNS_RETURN_MEMORY_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue