mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix#519 ub_ctx_delete may hang in some scenarios (libunbound).
git-svn-id: file:///svn/unbound/trunk@2937 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b37f9c0d4a
commit
64e8486a6d
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
19 Aug 2013: Wouter
|
||||
- Fix#519 ub_ctx_delete may hang in some scenarios (libunbound).
|
||||
|
||||
14 Aug 2013: Wouter
|
||||
- Fix uninit variable in fix#516.
|
||||
|
||||
|
|
|
|||
|
|
@ -372,6 +372,11 @@ int libworker_bg(struct ub_ctx* ctx)
|
|||
case -1:
|
||||
return UB_FORKFAIL;
|
||||
default:
|
||||
/* close non-used parts, so that the worker
|
||||
* bgprocess gets 'pipe closed' when the
|
||||
* main process exits */
|
||||
tube_close_read(ctx->qq_pipe);
|
||||
tube_close_write(ctx->rr_pipe);
|
||||
break;
|
||||
}
|
||||
#endif /* HAVE_FORK */
|
||||
|
|
|
|||
Loading…
Reference in a new issue