mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00: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:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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
|
* 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--;
|
sendcount--;
|
||||||
debug("sendcount=%d", sendcount);
|
debug("sendcount=%d", sendcount);
|
||||||
INSIST(sendcount >= 0);
|
INSIST(sendcount >= 0);
|
||||||
|
check_if_done();
|
||||||
UNLOCK_LOOKUP;
|
UNLOCK_LOOKUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user