Commit Graph
9499 Commits
Author SHA1 Message Date
Brian Wellington 90c845947a #include <time.h> 2001-06-07 00:45:35 +00:00
Mark Andrews 6cefb60af5 pullup from BIND 8
862.   [bug]           Use after realloc(), non portable pointer arithmetic in
                        grmerge().
2001-06-07 00:22:35 +00:00
Brian Wellington 224e84bc0e misc. stuff related to [RT #1293] 2001-06-07 00:21:53 +00:00
Brian Wellington 4320bd8518 regen: updates to the "static inline" test 2001-06-06 23:43:11 +00:00
Brian Wellington 47fd46791d updates to the "static inline" test 2001-06-06 23:42:54 +00:00
Brian Wellington c0510c723d Mention HP-UX and IRIX in #837 2001-06-06 23:22:55 +00:00
Brian Wellington b180fcc597 Mention that Linux builds now do not enable threads by default. 2001-06-06 23:09:44 +00:00
Brian Wellington 3b52090031 regen: HP/UX & IRIX have working threads. 2001-06-06 23:04:27 +00:00
Brian Wellington 9d266ed4d7 HP/UX & IRIX have working threads. 2001-06-06 23:04:06 +00:00
Brian Wellington 02e81689e3 861. [port] Add support for Mac OS X, by making it equivalent
to Darwin.  This was derived from the config.guess
			file shipped with Mac OS X. [RT #1355]
2001-06-06 22:28:29 +00:00
Brian Wellington 1812c92e63 Update to config.guess/config.sub from autoconf 2.50 2001-06-06 22:19:01 +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
Brian Wellington 338d559b3e remove extraneous blank line 2001-06-06 21:02:43 +00:00
Mark Andrews cd8c92da37 pullup from BIND8:
DE_CONST bind(arg 2)
2001-06-06 01:56:32 +00:00
Mark Andrews 99a8d30559 860. [func] Drop cross class glue in zone transfers. 2001-06-05 23:43:15 +00:00
David Lawrence dccd7f8459 859. [bug] Cache cleaning now won't swamp the CPU if there
is a persistent overlimit condition.

 858.   [func]          isc_mem_setwater() no longer requires that when the
                        callback function is non-NULL then its hi_water
                        argument must be greater than its lo_water argument
                        (they can now be equal) or that they be non-zero.

 857.   [cleanup]       Use ISC_MAGIC() to define all magic numbers for
                        structs, for our friends in EBCDIC-land.
2001-06-05 22:29:22 +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
David Lawrence 65640f401a Removed the requirement for isc_mem_setwater() that when the callback function
is not null then hi_water must exceed lo_water and both must be > 0.
Now requires hi_water >= lo_water, and they can both be 0.  Not allowing
them to be equal was just an unnecessary restriction, and letting them be 0
is useful for the case where the context has had non-zero values set, went
over hi_water and called the callback, and then wanted to remove limits
(perhaps because of a reconfiguration).  This allows the callback to
be signaled as ISC_MEM_LOWATER on the next isc_mem_put(), which the caller
might need to terminate any outstanding action that was triggered by
the hi_water.
2001-06-05 22:14:20 +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
Brian Wellington 33e49e8fdc #include <isc/magic.h> 2001-06-05 06:34:11 +00:00
Mark Andrews afb0a628ef 855. [bug] Stop spurious "using RFC 1035 TTL semantics" warnings. 2001-06-05 05:12:47 +00:00
Brian Wellington 17dba29ba5 854. [bug] The config parser didn't properly handle config
options that were specified in units of time other
			than seconds.  [RT #1372]
2001-06-04 21:51:27 +00:00
Brian Wellington fe61fbe14e ignore Makefiles and autoconf stuff 2001-06-04 21:48:52 +00:00
David Lawrence 163e27991b 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-04 20:57:25 +00:00
David Lawrence 92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Mark Andrews b5a86fe434 853. [bug] configure_view_acl() failed to detach existing acls.
[RT #1374]
2001-06-04 14:08:34 +00:00
Brian Wellington deb588e256 typo that caused an assertion failure [RT #1368] 2001-06-03 23:53:50 +00:00
Brian Wellington 74bb5715b6 regenerate: handle --without-randomdev [RT #1372] 2001-06-03 19:36:36 +00:00
Brian Wellington dee520f1be handle --without-randomdev [RT #1372] 2001-06-03 19:36:01 +00:00
Brian Wellington c39911afea functions returning void should not return the result of other functions
returning void. [RT #1372]
2001-06-03 19:03:37 +00:00
Brian Wellington fb13bc029f rewrite #851, rename the second #851 to #852 2001-06-01 18:16:40 +00:00
Mark Andrews 3042b3e271 851. [bug] Handle responses from servers which do not know
about IXFR.
2001-06-01 15:22:56 +00:00
Mark Andrews 989f808405 851. [cleanup] support-ixfr is obsolete, use request-ixfr. 2001-06-01 15:17:19 +00:00
Bob Halley 5390957197 comment out man rules (not quite ready for them yet) 2001-06-01 03:10:33 +00:00
Bob Halley eba5c23154 undo 1.54, which was an accidental commit 2001-06-01 03:07:54 +00:00
Bob Halley 875542855a update to 9.3.0, now that the 9.2 release branch has been created 2001-06-01 03:05:07 +00:00
Brian Wellington d0b6ece407 ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS 2001-06-01 01:11:28 +00:00
Brian Wellington 59d5cc31e5 #include <dns/types.h> 2001-06-01 01:09:10 +00:00
Brian Wellington 53aba5065d man pages were not properly installed in separate-object-dir builds 2001-06-01 00:45:04 +00:00
Brian Wellington 43b1bd8f86 remove nonexistent files 2001-05-31 22:52:06 +00:00
Brian Wellington 410821f324 copyright 2001-05-31 22:51:43 +00:00
Brian Wellington 03dad90858 add lib/bind/.cvsignore 2001-05-31 22:45:12 +00:00
Brian Wellington 116dd27475 regenerated 2001-05-31 22:43:04 +00:00
Brian Wellington 26242b780b typos 2001-05-31 22:39:52 +00:00
David Lawrence 7fe56f41ec slight optimization for dns_rbt_findnode() when bitstrings are involved:
skip the hashing attempts entirely when not at the root of a level
2001-05-31 22:32:46 +00:00
David Lawrence 68f4a1696f In dns_rbt_findnode() when using hashing, check for a bitstring after
each failure to find the hash_name, not just when the name has multiple labels.
2001-05-31 21:52:22 +00:00
David Lawrence 1f7342e098 In ns_controls_configure(), moved the ns_controls_shutdown() call that
removes no longer configured listeners into the block that actually
updates/add listeners, because when ns_controls_configure() recursively
calls itself to configure a 127.1 channel if there is no controls() statement,
the top level ns_controls_configure() was shutting down the channel that
the enclosing ns_controls_configure() just created.
2001-05-31 21:49:11 +00:00