Commit Graph
8513 Commits
Author SHA1 Message Date
Brian Wellington f24c135e09 738. [bug] If a non-threadsafe sdb driver supported AXFR and
received an AXFR request, it would deadlock or die
                        with an assertion failure.
(also some other cleanups)
2001-02-13 20:11:15 +00:00
Andreas Gustafsson b27b26d710 added isc_task_beginexclusive() test 2001-02-13 18:55:19 +00:00
Andreas Gustafsson 936af16e0d cross reference 733. to RT #821 2001-02-13 17:24:47 +00:00
Mark Andrews 382c4ce5a3 737. [port] stdtime failed to compile on certain platforms. 2001-02-13 13:24:09 +00:00
Mark Andrews ba6e506ed2 #if not #ifdef ISC_MEM_TRACKLINES 2001-02-13 13:20:37 +00:00
Mark Andrews e1066e3f98 add named.8 2001-02-13 06:27:26 +00:00
Mark Andrews b499a7c511 Print out the active memory prior to INSIST/REQUIRE failures. 2001-02-13 06:21:32 +00:00
Brian Wellington 65214e6500 Q: I installed BIND 9 and restarted named, but it's still BIND 8. Why? 2001-02-13 06:02:59 +00:00
Andreas Gustafsson 02940eaf0f 736. [func] New functions isc_task_{begin,end}exclusive(). 2001-02-13 04:11:44 +00:00
Brian Wellington 100d0d2ec6 Use a refcount instead of an explicit mutex and integer. 2001-02-13 03:57:06 +00:00
Andreas Gustafsson 8126e45e8c do dns_request_t cancel processing through a control event to
ensure that dns_dispatch_removeresponse() is called from the correct task
[RT #844]
2001-02-13 02:49:07 +00:00
Brian Wellington 4ce1248f09 fixed uninitialized variable 2001-02-13 01:29:33 +00:00
Brian Wellington 9f708f9014 isc_mem_stats() should print memory statistics even when there are no
allocated blocks at the time it's called.
2001-02-13 01:07:54 +00:00
Brian Wellington 55f3daa4ea When parsing a message, add an offsets table to each name. Also allow callers
rendering a message to get temporary offsets tables to attach to names added
to the message.
2001-02-13 01:02:59 +00:00
Brian Wellington 31efcf6478 Build the offsets table in dns_name_fromwire() while parsing the name, not
by calling set_offsets.
2001-02-13 00:07:25 +00:00
Andreas Gustafsson ea16b37d71 install refcount.h 2001-02-12 23:11:05 +00:00
Brian Wellington 8b473437f1 Support Solaris x86, improve Solaris support, support Linux on non x86. 2001-02-12 23:06:44 +00:00
Andreas Gustafsson 3287b57976 RFC 1035 specifies that the current origin should be restored after
an <command>$INCLUDE</command>, but it is silent on whether the current
domain name should also be restored.  BIND 9 restores both of them.
This could be construed as a deviation from RFC 1035, a feature, or both.
[RT #874]
2001-02-12 22:09:52 +00:00
Andreas Gustafsson dc1453b15d no need for a new [support] category for 735.; [doc] will do 2001-02-12 21:48:13 +00:00
Andreas Gustafsson e4aeba3272 clarify 708. 2001-02-12 21:46:29 +00:00
Brian Wellington 2d1db4e2c0 Allocate events in the client structure, and use isc_socket_sendto2()
and isc_socket_recv2() for sending and receiving packets.  In the send
case, pass the IMMEDIATE flag to avoid receiving an event on send completion
if possible.
2001-02-12 21:45:37 +00:00
Brian Wellington 1f7f8d5c07 Add isc_socket_sendto2() and isc_socket_recv2(). These versions take
a partially constructed event and flags.  The flags can include
ISC_SOCKFLAG_IMMEDIATE, which means that if the operation completes, the
event is filled in and not sent.
2001-02-12 21:43:17 +00:00
Brian Wellington 2ba06bbf5a cut-and-paste-o 2001-02-12 20:26:11 +00:00
Brian Wellington a13ca8a125 Add ISC_R_INPROGRESS (operation in progress) 2001-02-12 20:03:16 +00:00
Brian Wellington 29daf5bc77 The suffix returned by dns_compress_findglobal() is never used, so remove it. 2001-02-12 18:07:52 +00:00
Brian Wellington 0c264c9094 The prefix and suffix names used in name compression don't need offset tables,
since they're never used.  Not having offset tables makes filling in their
contents more efficient.
2001-02-12 05:22:34 +00:00
Mark Andrews 0aba05dc81 named.8 -> named.8.in 2001-02-12 04:53:20 +00:00
Mark Andrews a92e4f3c0a sync 2001-02-12 04:52:30 +00:00
Mark Andrews 2da6df28cb Add bin/named/named.8 2001-02-12 04:51:32 +00:00
Mark Andrews 070fc7e7e1 named.8 is now processed by configure. 2001-02-12 04:50:47 +00:00
Brian Wellington cdc50af0bf In the towire_* and additionaldata_* routines, add an offsets table to names
passed into dns_name_toregion().  This is effectively free, and reduces the
number of calls to set_offsets() and dns_name_clone() in name compression.
2001-02-12 03:05:05 +00:00
Mark Andrews 9b6398efdf re-do #734 2001-02-12 03:03:40 +00:00
Brian Wellington 1b622d39e8 Fix lots of typos in the bind 4 -> bind 9 section. 2001-02-12 02:02:06 +00:00
Mark Andrews 9a7d163f6f 735. [support] Add BIND 4 migration notes. 2001-02-12 01:55:18 +00:00
Andreas Gustafsson 6cefb74b2b dns_dispatch_removeresponse() failed to document the
requirement that it is only called from the task where the
response entry being removed delivers its events (Michael
agrees that this is indeed a requirement)
2001-02-11 19:11:52 +00:00
Mark Andrews 4dc2987f47 used the wrong xfr in #734 2001-02-11 02:23:12 +00:00
Brian Wellington 7c3996209b fix a "statement is unreachable" warning 2001-02-11 00:52:31 +00:00
Brian Wellington 7222f9f321 The optimization to avoid compares after hashtable matches didn't work when
the matched node contained multiple labels.
2001-02-10 22:46:24 +00:00
Brian Wellington 82ecc44b96 another micro-optimization. 2001-02-10 02:55:05 +00:00
Brian Wellington 319d2971f1 When the client informs the dispatcher of a received response, have the
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Brian Wellington 64e7f8541d optimization - if the compression table for a message is empty, don't
hash and look up each label.
2001-02-10 01:18:19 +00:00
Andreas Gustafsson a771e5c797 removed outdated comment 2001-02-09 21:25:55 +00:00
Andreas Gustafsson 1d625775ee note that max_size and target_size apply only when
ISC_MEM_USE_INTERNAL_MALLOC is set
2001-02-09 19:19:17 +00:00
Andreas Gustafsson 50179a15d1 UNUSED() 2001-02-09 19:08:11 +00:00
Andreas Gustafsson dd0ef1a9d3 removed the unused and undocumented functions
isc_mem_preallocate(), isc_mem_valid(), isc_mem_setsplit(), and
isc_mem_restore()
2001-02-09 19:05:23 +00:00
Andreas Gustafsson c674a8d5e7 documented the isc_mem_* interface 2001-02-09 18:51:20 +00:00
Brian Wellington 1c1f5e1911 The root node was added to the hashtable twice, which could lead to an
infinite loop. [RT #840]
2001-02-09 18:48:57 +00:00
Andreas Gustafsson 8eb5937a7e Do not use a parallel "make". 2001-02-09 18:35:11 +00:00
Andreas Gustafsson 780db05762 use the UNUSED() macro 2001-02-09 18:27:18 +00:00
Andreas Gustafsson 16f07b53a2 added 2001-02-09 17:15:30 +00:00