mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
Fix bug reported by Jaco with non-threaded unbound and statistics.
iana portlist updated. git-svn-id: file:///svn/unbound/trunk@1380 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
9a9f012352
commit
9e96c6e3aa
3 changed files with 15 additions and 2 deletions
|
|
@ -312,8 +312,14 @@ void close_other_pipes(struct daemon* daemon, int thr)
|
|||
int i;
|
||||
for(i=0; i<daemon->num; i++)
|
||||
if(i!=thr) {
|
||||
tube_delete(daemon->workers[i]->cmd);
|
||||
daemon->workers[i]->cmd = NULL;
|
||||
if(i==0) {
|
||||
/* only close read part, need to write stats */
|
||||
tube_close_read(daemon->workers[i]->cmd);
|
||||
} else {
|
||||
/* complete close channel to others */
|
||||
tube_delete(daemon->workers[i]->cmd);
|
||||
daemon->workers[i]->cmd = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
3 December 2008: Wouter
|
||||
- Fix problem reported by Jaco Engelbrecht where unbound-control stats
|
||||
freezes up unbound if this was compiled without threading, and
|
||||
was using multiple processes.
|
||||
- iana portlist updated.
|
||||
|
||||
1 December 2008: Wouter
|
||||
- SElinux policy files in contrib/selinux for the unbound daemon,
|
||||
by Paul Wouters and Adam Tkac.
|
||||
|
|
|
|||
|
|
@ -1842,6 +1842,7 @@
|
|||
2184,
|
||||
2185,
|
||||
2186,
|
||||
2187,
|
||||
2190,
|
||||
2191,
|
||||
2192,
|
||||
|
|
|
|||
Loading…
Reference in a new issue