Mark Andrews
39ebcd5955
#927
...
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Brian Wellington
b6d7e96688
LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK
2001-07-11 19:12:53 +00:00
Mark Andrews
e9596e1fb3
927. [bug] Don't hold the zone lock for the entire dump to disk.
...
[RT #1423 ]
2001-07-11 05:20:26 +00:00
Bob Halley
c54210716e
avoid deadlock with the ADB when shutting down [RT #1324 ]
2001-07-11 01:19:56 +00:00
Brian Wellington
3fcf6b956f
925. [cleanup] Remove openssl from the distribution; require that
...
--with-openssl be specified if DNSSEC is needed.
2001-07-10 21:40:10 +00:00
Brian Wellington
6614bac268
oops, don't return an isc_boolean_t as an isc_result_t.
2001-07-10 21:27:59 +00:00
Andreas Gustafsson
3d4d93c35b
misplaced cast could cause EDNS extended RCODE bits to be lost [RT #1483 ]
2001-07-10 20:09:24 +00:00
Brian Wellington
5939aa7265
wording
2001-07-10 19:08:28 +00:00
Brian Wellington
3b31ce9da9
functions can now return DST_R_NOCRYPTO
2001-07-10 19:05:53 +00:00
Brian Wellington
28e2058c5f
macro style
2001-07-10 05:12:43 +00:00
Brian Wellington
9622173ccb
only create a memory pool if OPENSSL is defined.
2001-07-10 05:00:42 +00:00
Brian Wellington
4f0187f10c
DST_R_NOCRYPTO
2001-07-10 04:34:36 +00:00
Brian Wellington
024550401d
#if defined(OPENSSL) ==> #ifdef OPENSSL
...
remove unused #include <openssl/rand.h>
2001-07-10 04:01:19 +00:00
Andreas Gustafsson
ec4f2e859f
80 columns
2001-07-09 21:27:45 +00:00
Andreas Gustafsson
f2ee3341c7
spacing
2001-07-06 22:53:48 +00:00
Andreas Gustafsson
ad493ef9dd
spacing
2001-07-06 20:15:08 +00:00
Andreas Gustafsson
19b34f979c
removed initializations of nonexistent variables at Danny's request
2001-07-06 17:35:04 +00:00
Danny Mayer
2773eae702
Fix variable declarations and remove initializations
2001-07-06 02:57:40 +00:00
Danny Mayer
4da4fef481
Fix printf's to use fprintf(stdout... to be consistent and set data initializations in main since they are runtime addresses
2001-07-06 02:56:47 +00:00
Brian Wellington
ed95ebaa42
remove references to vms_idhacks.h, since VMS doesn't seem to need it.
...
[RT #1432 ]
2001-07-05 19:06:07 +00:00
Andreas Gustafsson
5f62432db2
removed extraneous empty line
2001-07-02 20:44:30 +00:00
Andreas Gustafsson
389677e152
removed empty line
2001-06-28 21:34:54 +00:00
Andreas Gustafsson
dcc7ea9717
spacing
2001-06-28 21:34:39 +00:00
Andreas Gustafsson
60dcbecf04
Instead of choosing between memcpy and memmove at run time, call
...
memmove unconditionally since any reasonable implementation of
memmove will perform such a choice internally, and also doing it
in the caller duplicates the effort.
2001-06-28 21:34:11 +00:00
Andreas Gustafsson
b1a7fea53c
brace style
2001-06-28 21:21:39 +00:00
Mark Andrews
dee489d6c1
incremental_cleaning_action() is now re-called as a result of normal event
...
processing, not as the result of timer action.
2001-06-28 13:51:40 +00:00
David Lawrence
6817b32d2c
Revert "incremental cleaning should actually clean" because it already did.
...
dns_dbiterator_setcleanmode(cleaner->iterator, ISC_TRUE) causes
dns_dbiterator_current() to do node expiry.
2001-06-27 20:18:03 +00:00
Mark Andrews
ba94ff2e56
incremental cleaning should actually clean.
...
end_cleaning wants busy not idle
2001-06-27 14:48:21 +00:00
Danny Mayer
11c7a43642
type needed to be defined as dns_rdatatype_t instead of int in rdataset_totext()
2001-06-27 04:30:37 +00:00
Brian Wellington
f215881bb0
removed unnecessary const [RT #1440 ]
2001-06-27 04:21:18 +00:00
Mark Andrews
85bdc128fc
Relax REQUIRES() in *fromstruct() and unconditionally call
...
mem_maybedup() in *tostruct().
TXT is one or more (not zero or more) strings.
2001-06-21 04:00:47 +00:00
Andreas Gustafsson
77efdc854b
spacing; typo
2001-06-21 01:30:22 +00:00
Andreas Gustafsson
08a44b06ef
the length of the NULL record RDATA can be zero;
...
do not assert the contrary
2001-06-20 17:43:31 +00:00
Brian Wellington
2196128fc2
When doing best-effort parsing (in dig, for example) on a message with multiple
...
questions where an unrecoverable error is seen after 2 or more questions have
been parsed, memory would be leaked from msg->namepool, and would trigger an
ENSURE() in dns_message_destroy().
2001-06-15 05:24:24 +00:00
Brian Wellington
0a9a3d8c6d
904. [bug] The server would leak memory if attempting to use
...
an expired TSIG key. [RT #1406 ]
2001-06-15 02:24:02 +00:00
Andreas Gustafsson
23ac0d8259
comments for dns_message_parse() referred to
...
nonexistent arguments
2001-06-14 18:38:48 +00:00
Andreas Gustafsson
c44072c299
uninitialized pointer could potentially (but not likely)
...
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)
2001-06-11 04:26:41 +00:00
Brian Wellington
ba9e9a88c8
The last change didn't compile due to faulty cut&paste.
2001-06-08 22:48:28 +00:00
Brian Wellington
3b6bcedffe
891. [bug] Return an error when a SIG(0) signed response to
...
an unsigned query is seen. This should actually
do the verification, but it's not currently
possible. [RT #1391 ]
2001-06-08 19:37:29 +00:00
Brian Wellington
01535cfb3a
removed erroneous UNUSED macro
2001-06-08 19:16:15 +00:00
Brian Wellington
9af6e1c548
Don't die when trying to delete a nonexistent key [RT #1392 ]
2001-06-08 18:29:31 +00:00
Andreas Gustafsson
11c8a04f9b
grammar
2001-06-07 20:11:30 +00:00
Andreas Gustafsson
d358eea93e
megabytes is abbreviated MB, not mb
2001-06-07 18:31:54 +00:00
Brian Wellington
571688b02f
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-06 22:03:58 +00:00
Mark Andrews
99a8d30559
860. [func] Drop cross class glue in zone transfers.
2001-06-05 23:43:15 +00:00
David Lawrence
f991461dc1
The most notable change is that incremental_cleaning_action() will now
...
wait at least six seconds between each pass of the tree. This keeps
the CPU from being bogged down in a persistent overlimit condition, and
because it uses timers also lets the cache cleaner know right away when
the server is being shut down, so it can stop trying to clean.
Also fixed an unlocked access to cache->live_tasks in dns_cache_detach().
Also fixed a problem with repeated calls to dns_cache_setcachesize() setting
the database as not overmem, even though it might have still been in
the process of cleaning from a previous limit. Just set the new
isc_mem_setwater() limits instead and let the mem.c call water() if cleaning
needs to be either started or stopped because of the new limits.
Minor code cleanups.
2001-06-05 22:27:51 +00:00
Mark Andrews
92296c744e
complete the rollback
2001-06-05 09:23:14 +00:00
Mark Andrews
8af4b7042d
rollback individual RR.
2001-06-05 09:17:21 +00:00
Mark Andrews
03f91269f5
856. [func] Allow partial rdatasets to be returned in answer and
...
authority sections to help non-TCP capable clients
recover from truncation. [RT #1301 ]
2001-06-05 09:02:16 +00:00
Brian Wellington
7e93abafe6
spelling & style
2001-06-05 06:34:45 +00:00