Andreas Gustafsson
f915bbfc2d
rdatas constructured by query_addcnamelike() always had
...
type CNAME, even when part of a non-CNAME rdataset
2001-02-14 19:32:30 +00:00
Mark Andrews
0c6971b8ea
Split the load context in two, one part that is visible across all files
...
the other part that is include file specific.
2001-02-14 13:14:50 +00:00
Andreas Gustafsson
65a66336a6
redid configuration locking using isc_task_beginexclusive()
...
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Brian Wellington
dc5415c9fd
comment update
2001-02-14 03:01:12 +00:00
Andreas Gustafsson
1dd8ee4fd5
fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
...
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Andreas Gustafsson
927fe08882
leave more evidence when failing
2001-02-14 02:42:10 +00:00
Andreas Gustafsson
1b003261c2
stop.pl should replace only kill -TERM, not kill -KILL; the test is
...
specifically trying to test how the server behaves when shut down uncleanly
2001-02-14 02:11:17 +00:00
Andreas Gustafsson
edd03c5600
add -- before non-option argument starting with a dash so as not to
...
confuse the Perl Getopt module
2001-02-14 02:03:45 +00:00
Brian Wellington
bf5c44f380
ISC_R_INPROGRESS should not be propagated out of client_sendpkg.
2001-02-14 01:46:59 +00:00
Ben Cottrell
2caff6b7df
Something that I thought was a win turned out to be a lose. I now no longer
...
even try to restore previous state when someone issues two conflicting
type options.
2001-02-14 01:46:03 +00:00
Andreas Gustafsson
ff6e7b684a
commented
2001-02-14 01:34:26 +00:00
Brian Wellington
8766351a67
general cleanup
2001-02-14 00:43:10 +00:00
Andreas Gustafsson
d156c10aee
removed extra empty line
2001-02-14 00:29:16 +00:00
Matt Nelson
614610ba0b
Use start.pl and stop.pl to start and stop servers during test.
2001-02-14 00:16:38 +00:00
Matt Nelson
a60a0fd346
Use start.pl and stop.pl instead of start.sh and stop.sh.
2001-02-14 00:14:24 +00:00
Brian Wellington
5226a9f307
argument handling was broken
2001-02-14 00:13:33 +00:00
Matt Nelson
557e104278
Added ability to test port on a single ip address.
2001-02-14 00:09:44 +00:00
Matt Nelson
cf1dd93491
Rewrite of stop.sh in perl. Added ability to stop single server.
2001-02-13 23:41:00 +00:00
Matt Nelson
7b8ebf78a8
Rewrite of start.sh in perl. Added ability to start single specified server
...
and to skip cleanup of server files.
2001-02-13 23:39:50 +00:00
Ben Cottrell
354f4f1ab2
Fixed RT #727 and #780 .
2001-02-13 23:12:17 +00:00
Andreas Gustafsson
8f17525ebc
in some situations, a request could be cancelled twice
2001-02-13 21:06:25 +00:00
Brian Wellington
47d78f67cb
Give more information when isc_mempool_destroy() dies with an assertion
...
failure, in the hope that we'll be able to fix the bug one day.
2001-02-13 20:29:27 +00:00
Brian Wellington
b2c46df291
A receive could be erroneously cancelled because of missing braces around a
...
block.
2001-02-13 20:21:52 +00:00
Brian Wellington
d77312050f
change #738 should reference RT #852
2001-02-13 20:13:35 +00:00
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