Commit Graph
4519 Commits
Author SHA1 Message Date
David Lawrence 86b8c48576 638. [port] lib/isc/random.c needed to explicitly include
time.h explicitly to get a prototype for time() when
			pthreads was not being used. [RT #592]
2000-12-26 21:02:14 +00:00
David Lawrence 125a916d1a 637. [port] Use isc_u?int64_t instead of (unsigned) long long in
lib/isc/print.c.  Also allow lib/isc/print.c to
			be compiled even if the platform does not need it.
			[RT #592]

Also cleaned up some const issues.
2000-12-26 21:00:41 +00:00
David Lawrence 0b3427d15c 636. [port] Shut up MSVC++ about a possible loss of precision
in the ISC__BUFFER_PUTUINT*() macros. [RT #592]

This is the basically the same change made to buffer.c before the macros
were created:

   revision 1.18
   date: 1999/09/23 17:54:57;  author: tale;  state: Exp;  lines: +4 -4
   Shut up MSVC++ compiler warning about loss of precision when assigning
   8 bits masked out of a 32 bit int to individual bytes.

Also, an #if 0 around "#define ISC_BUFFER_USEINLINE" was removed, per the
ISC coding style, and instead a comment was used to disable the definition.
2000-12-26 20:51:14 +00:00
Brian Wellington 02e3821450 635. [bug] Reloading a server with a configured blackhole list
would cause an assertion. [RT #590]
2000-12-26 09:48:41 +00:00
David Lawrence f8da2d9583 634. [bug] A log file will completely stop being written when
it reaches the maximum size in all cases, not just
			when versioning is also enabled. [RT #570]
2000-12-23 19:23:48 +00:00
David Lawrence 17012a8797 632. [port] Cope with rlim_t missing on BSD/OS systems. [RT #575] 2000-12-23 02:46:34 +00:00
Andreas Gustafsson 642e583687 ...and in two different ways, at that 2000-12-22 23:47:00 +00:00
Andreas Gustafsson e0a90d7579 journal index array was corrupted on write 2000-12-22 23:37:03 +00:00
Andreas Gustafsson 029ce2f952 need #include <dns/rdataset.h> and <dns/rdatastruct.h> 2000-12-22 23:01:56 +00:00
Brian Wellington 2374f16f5d missing ISC_LANG_ENDDECLS 2000-12-22 22:56:55 +00:00
Brian Wellington 489b762926 - if pthreads are not found, build a nonthreaded version
- check for pthread_attr_getstacksize
2000-12-22 20:50:05 +00:00
Andreas Gustafsson 0ad8ee89c5 more request shutdown logic fixes from Mark 2000-12-22 19:39:01 +00:00
Andreas Gustafsson 4c1fee4236 don't turn on ISC_MEM_BDEBUGRECORD by default 2000-12-22 18:30:26 +00:00
Mark Andrews 6cc5eac41b more unlocked calls to cancel_refresh(). 2000-12-22 05:55:20 +00:00
Mark Andrews bd5f2ac188 630. [bug] locking failure in zone code. [RT #582] 2000-12-22 02:43:42 +00:00
Brian Wellington 48540261f1 replace (isc_mem_debugging > 1) with (MEM_RECORD) 2000-12-22 00:26:33 +00:00
Andreas Gustafsson 709fa2054f oops, it's <dst/dst.h>, not <dst/key.h> 2000-12-21 18:11:00 +00:00
Andreas Gustafsson c663d46e47 need #include <dst/key.h> 2000-12-21 16:27:22 +00:00
Andreas Gustafsson 359082766e diff.h was not installed 2000-12-21 16:17:41 +00:00
Andreas Gustafsson 2207599e64 condition.h was not installed 2000-12-21 16:14:49 +00:00
Brian Wellington 5d85bf183f missing 'static' 2000-12-21 01:58:37 +00:00
Brian Wellington 1200b06785 removed LWRDATA_AUTHORITATIVE and RRSET_AUTHORITATIVE 2000-12-21 00:27:56 +00:00
Brian Wellington 58cbc05eb0 Fix memory leak in dns_view_find; return DNS_R_HINTNXRRSET instead of
DNS_R_NOTFOUND when correct to do so.
2000-12-20 23:31:11 +00:00
Andreas Gustafsson 7d33e89969 627. [bug] The EDNS0 blackhole detection code of 327. waited
for three retransmissions to each server, which
                        takes much too long when a domain has many name
                        and all of them drop EDNS0 queries.  Now we retry
                        without EDNS0 after three consecutive timeouts,
                        even if they are all from different servers.
2000-12-20 23:18:37 +00:00
Brian Wellington 86c3cd20dd fix a race condition. 2000-12-20 20:42:08 +00:00
Andreas Gustafsson 0bca614506 don't shout 2000-12-20 19:46:37 +00:00
Brian Wellington 13090db2b1 dns_view_find can now do ANY queries; it takes additional db and node
parameters used for return values.
2000-12-20 03:38:46 +00:00
Mark Andrews 2a80a4e120 625. [func] Zone's now inherit their class from the enclosing view. 2000-12-20 03:36:19 +00:00
Andreas Gustafsson 91b4560baa zone timer was using the wrong task [RT #571] 2000-12-20 01:27:50 +00:00
Brian Wellington a644e87df7 Move the msgcat stuff into socket_log(), to avoid unnecessary calls to
isc_msgcat_get() and speed things up.
2000-12-19 20:35:37 +00:00
Andreas Gustafsson 70c91849c3 eliminated compiler warning 2000-12-19 19:29:13 +00:00
Andreas Gustafsson ab0bc7bd36 spelling 2000-12-19 19:20:15 +00:00
Andreas Gustafsson 0833ef954a when code is duplicated (which it shouldn't be), it should at
least be duplicated consistently
2000-12-19 19:19:45 +00:00
Mark Andrews 5f7a9845e9 make ISC_LIST_CHECKINIT work 2000-12-19 04:46:36 +00:00
Mark Andrews f53848e171 622. [bug] A canceled request could be destroyed before
dns_request_destroy() was called. [RT #562]
2000-12-19 03:36:48 +00:00
Brian Wellington 64a84169d7 621. [port] Disable IPv6 at runtime if they are unusable. This
mostly affects Red Hat Linux 7.0.
2000-12-19 01:36:52 +00:00
Mark Andrews 7f66083184 remove unused variables 2000-12-19 01:32:41 +00:00
Andreas Gustafsson 8998ed8481 added UNUSED() macro 2000-12-18 21:09:42 +00:00
Andreas Gustafsson 5fca48054b dump the ADB in a more user-friendly format (unless a debug flag is set) 2000-12-18 20:03:33 +00:00
Mark Andrews 1599bd6998 620. [bug] dns_master_load*inc() now require 'task' and 'load'
to be non-null.  Also 'done' will not be called if
                        dns_master_load*inc() fails immediately. [RT #565]
2000-12-17 23:43:12 +00:00
Andreas Gustafsson 113b8ef973 renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future.  Also changed the dump style to the
'explict TTL' one, which makes more sense than usin  when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Andreas Gustafsson acea06c80c spelling 2000-12-15 21:06:00 +00:00
Andreas Gustafsson 6c29053a20 614. [bug] Checks for uninitialized link fields were prone
to false positives, causing assertion failures.
                        The checks are now disabled by default and may
                        be re-enabled by defining ISC_LIST_CHECKINIT.
2000-12-15 00:20:55 +00:00
Andreas Gustafsson 5412d26798 entropy.c did not include header files necessary for select(),
causing nonthreaded builds to fail on AIX
2000-12-14 22:40:17 +00:00
Mark Andrews 43b8fb7570 dns_rdata_init > dns_rdata_reset 2000-12-14 22:10:37 +00:00
Mark Andrews 5d2026ea7b relax initalied checks 2000-12-14 22:09:51 +00:00
Brian Wellington ee10d3de18 #include <stdio.h> 2000-12-13 21:28:38 +00:00
David Lawrence 3d509f54ac 613. [bug] "rndc reload zone" now reloads primary zones.
It previously only updated slave and stub zones,
			if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
Mark Andrews fa67ca21f6 make dns_zone_load work w/o being managed.
add bin/check/Makefile to configure
2000-12-13 06:21:42 +00:00
David Lawrence 13a0f9518a oops, an ifdef should have been an ifndef 2000-12-13 01:42:23 +00:00