Commit Graph
4534 Commits
Author SHA1 Message Date
Brian Wellington ed9e25e312 pullup:
647.   [bug]           Resolver queries sent after following multiple
                        referrals had excessively long retransmission
                        timeouts due to incorrectly counting the referrals
                        as "restarts".
2001-01-05 22:18:28 +00:00
Andreas Gustafsson db55ad5320 pullup:
It was possible to join to an already running fctx
after it had "cloned" its events, but before it sent
them.  In this case, the event of the newly joined
fetch would not contain the answer, and would
trigger the INSIST() in fctx_sendevents().
[RT #597, #605, #607]
2001-01-05 22:06:19 +00:00
Andreas Gustafsson b761459e7b pullup: wrong result code tested 2001-01-03 23:34:54 +00:00
Andreas Gustafsson 3d28abda8b pullup:
642.   [bug]           #622 needed more work.
2001-01-03 20:45:40 +00:00
Andreas Gustafsson e82fe0b699 pullup:
646.   [bug]           The UnixWare ISC_PLATFORM_FIXIN6INADDR fix in isc/net.h
                        didn't _cleanly_ fix the problem it was trying to fix.
2001-01-03 20:37:58 +00:00
Andreas Gustafsson 1ce3c31379 pullup:
642.   [bug]           Break the exit_check() race in the zone module.
                        [RT #598]
+ fix lock heirachy in zone_shutdown()
2000-12-29 19:16:36 +00:00
Andreas Gustafsson 0073346086 pullup:
641.   [bug]            caused a uninitialized link to be used.
                        [RT #595]
2000-12-28 18:46:46 +00:00
cvs2git 65bfedf5a0 This commit was manufactured by cvs2git to create branch 'v9_1'. 2000-12-28 01:42:01 +00:00
Mark Andrews de154f65f6 Ensure that ns_client_*() are only called from the client's task. 2000-12-28 01:29:09 +00:00
Brian Wellington d780c35e54 remove all vestiges of 16 bit global compression 2000-12-28 00:43:12 +00:00
David Lawrence 090432605e isc_file_renameunique() set its result incorrectly if renaming failed; it used
the value of errno from an unlink() call, not from the rename() call.
2000-12-27 17:21:53 +00:00
Brian Wellington ee303f481d 639. [bug] Reading entropy from the keyboard would sometimes fail.
[RT #591]

note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
David Lawrence 801dceea23 Revert my last change. It was stupid, which I if I had been thinking clearly
I would have seen *before* I commited anything.  So, include isc/thread.h,
isc/mutex.h and isc/condition.h even if ISC_PLATFORM_USETHREADS is not defined.

(What caused me to bother with this at all was a problem that I resolved
a few days ago by fixing configure ... though now that I think about it,
that probably means there is some other latent problem with inconsistent
definitions that could maybe be handled better.  I'll look into it more
later, AFTER vacation.)
2000-12-26 21:45:08 +00:00
David Lawrence bdcae3560b Only include isc/thread.h, isc/mutex.h and isc/condition.h if
ISC_PLATFORM_USETHREADS is defined.
2000-12-26 21:12:25 +00:00
David Lawrence 8ab1d97093 sigh. "define" -> "defined". never make trivial changes without retesting. 2000-12-26 21:06:49 +00:00
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