mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 02:42:33 -05:00
And while we're at it, call back into check_if_done() after send_done(),
so things get shutdown in that rare condition...
This commit is contained in:
parent
3ab1cd05b8
commit
2a2d5b6c32
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dighost.c,v 1.112 2000/08/03 18:23:16 mws Exp $ */
|
||||
/* $Id: dighost.c,v 1.113 2000/08/03 18:26:22 mws Exp $ */
|
||||
|
||||
/*
|
||||
* Notice to programmers: Do not use this code as an example of how to
|
||||
|
|
@ -1363,6 +1363,7 @@ send_done(isc_task_t *_task, isc_event_t *event) {
|
|||
sendcount--;
|
||||
debug("sendcount=%d", sendcount);
|
||||
INSIST(sendcount >= 0);
|
||||
check_if_done();
|
||||
UNLOCK_LOOKUP;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue