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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user