2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Improved formatting of #ifdef DEBUG messages (left out \n's when puts calls

were changed to fputs to stderr).
Fix memory leak when doing axfr's.
Improvements to host program; most options and types fully supported.
Add (currently non-functional) -C option to host to check all SOA's
on authorative servers.  (Will require some notable changes to dighost.c
to make this a functional option.)

Issues stil needing resolution:
	IPv6 queries are not currently sent.
	Memory leak on ^C while waiting for UDP recv or TCP connect.
	A few more dig options need supporting.
	Support IXFR under dig (and maybe host).
	Support signatures (TSIG) under dig (and maybe host).
This commit is contained in:
Michael Sawyer
2000-04-27 23:20:29 +00:00
parent 140d926224
commit 1d2f2d7c9a
3 changed files with 125 additions and 48 deletions

View File

@@ -126,14 +126,14 @@ check_next_lookup(dig_lookup_t *lookup) {
isc_boolean_t still_working=ISC_FALSE;
#ifdef DEBUG
fputs("In check_next_lookup",stderr);
fputs("In check_next_lookup\n",stderr);
#endif
for (query = ISC_LIST_HEAD(lookup->q);
query != NULL;
query = ISC_LIST_NEXT(query, link)) {
if (query->working) {
#ifdef DEBUG
fputs("Still have a worker.",stderr);
fputs("Still have a worker.\n",stderr);
#endif
still_working=ISC_TRUE;
}
@@ -144,7 +144,7 @@ check_next_lookup(dig_lookup_t *lookup) {
next = ISC_LIST_NEXT(lookup, link);
if (next == NULL) {
#ifdef DEBUG
fputs("Shutting Down.",stderr);
fputs("Shutting Down.\n",stderr);
#endif
isc_app_shutdown();
return;