Andreas Gustafsson
ca50fa0230
Partial fix for RT #2053 . The potential for deadlock still exists,
...
but it is much less likely to occur because we now only take the ADB lock when the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-14 22:32:10 +00:00
Brian Wellington
a873540eb6
When in singlethreaded mode, don't drain the event queue before exiting
...
isc_app_run(). The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
2001-11-14 22:11:58 +00:00
Brian Wellington
b493dfe8bc
Add bind9_getaddresses(), a consistent version of the get_address function
...
from dig/host/nslookup, nsupdate, and rndc. This should make it
easier to have the various programs support multiple addresses for a hostname.
2001-11-14 22:08:38 +00:00
Andreas Gustafsson
cab27680d6
change 1077. introduced a locking hierarchy violation; fix by
...
introducing a separate lock for resolver->nfctx.
2001-11-14 22:05:05 +00:00
Brian Wellington
f109354dce
copyright
2001-11-14 22:01:40 +00:00
Andreas Gustafsson
2869504d83
1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
...
[RT #2046 ]
2001-11-14 01:31:12 +00:00
Andreas Gustafsson
138cc7f283
1121. [bug] The server could attempt to access a NULL zone
...
table if shutting down while resolving.
[RT #1587 , #2054 ]
2001-11-14 01:01:28 +00:00
Mark Andrews
ae29b66fbf
BIND 8.3 compat "suppress-initial-notify".
2001-11-13 06:57:11 +00:00
Mark Andrews
aa51fc8106
1119. [bug] Errors in options were not fatal. [RT #2002 ]
2001-11-13 06:34:59 +00:00
Mark Andrews
0316cd0c04
NODE_VALID -> DNS_RBTNODE_VALID
2001-11-13 06:19:55 +00:00
Danny Mayer
5c4e92b973
Added support for NTFS disks
2001-11-13 05:07:57 +00:00
Andreas Gustafsson
f3ca27e9fe
sizeof style
2001-11-12 19:05:39 +00:00
Andreas Gustafsson
e3e94dd137
1118. [bug] On multithreaded servers, a race condition
...
could cause an assertion failure in resolver.c
during resolver shutdown. [RT #2029 ]
2001-11-12 18:48:50 +00:00
Andreas Gustafsson
c0bf2b179a
When DNS_RBT_USEMAGIC is defined as true, do magic number
...
checking of RBT nodes
2001-11-10 01:37:44 +00:00
Brian Wellington
9fbcea8dba
install soa.h
2001-11-09 23:09:29 +00:00
Mark Andrews
3e42bdfdc9
1116. [bug] Setting transfers in a server clause, transfers-in,
...
or transfers-per-ns to a value greater than
2147483647 disabled transfers. [RT #2002 ]
2001-11-09 04:21:58 +00:00
Mark Andrews
b20eef7ab0
1115. [func] Set maximum values for cleaning-interval,
...
heartbeat-interval, interface-interval,
max-transfer-idle-in, max-transfer-idle-out,
max-transfer-time-in, max-transfer-time-out,
statistics-interval of 28 days and
sig-validity-interval of 3660 days. [RT #2002 ]
2001-11-09 03:34:55 +00:00
Andreas Gustafsson
a571ebca8b
style
2001-11-09 01:53:20 +00:00
Mark Andrews
f498427f17
theoretically potential file descriptor leak.
2001-11-09 00:37:10 +00:00
Andreas Gustafsson
bad3251d3f
Undo the parts of 1113. pertaining to the allow-update option; simplify grammar
2001-11-08 21:13:42 +00:00
Andreas Gustafsson
ea01b618d9
1114. [port] Ignore more accept() errors. [RT #2021 ]
2001-11-08 20:24:25 +00:00
Danny Mayer
afce5ee1c8
On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear
2001-11-08 03:29:05 +00:00
Brian Wellington
bcf53cf8d0
Move the memory allocation wrappers into openssl_link.c, since they're
...
openssl specific.
2001-11-07 23:03:54 +00:00
Andreas Gustafsson
78bf1ca895
1111. [bug] Multithreaded servers could deadlock processing
...
recursive queries due to a locking hieararchy
violation in adb.c. [RT #2017 ]
2001-11-07 22:40:33 +00:00
Mark Andrews
773e64ec15
try-edns is no more
2001-11-07 04:25:19 +00:00
Danny Mayer
e209942448
Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870 ]
2001-11-07 04:24:38 +00:00
Mark Andrews
be9932698b
max-adb-size is no more.
...
1073. [bug] The adb cache should also be space driven.
[RT #1915 , #1938 ]
2001-11-07 03:52:20 +00:00
Brian Wellington
51e66e5dee
missing static
2001-11-06 23:10:34 +00:00
Brian Wellington
88d64279bb
if the function table entry already exists when _init() is called, don't
...
overwrite it.
2001-11-06 22:51:00 +00:00
Brian Wellington
f368466f81
Creating a NULL KEY shouldn't trigger a "no crypto" error.
2001-11-06 22:27:52 +00:00
Brian Wellington
ba45e16a66
Clean up the implementation cleanup mechanism. Also remove ->issymmetric,
...
since it's easier to just do it in dst_api.c.
2001-11-06 20:47:59 +00:00
Brian Wellington
2f93757751
Rework the "no crypto support" test. Rather than explicitly checking whether
...
built without openssl, instead return NOCRYPTO if the algorithm is not
supported but known.
2001-11-06 18:08:07 +00:00
Brian Wellington
3bc4de1f1b
memory leaks on errors
2001-11-06 17:59:50 +00:00
Brian Wellington
7b5bf4bea4
a key could be freed twice in an unlikely error case.
2001-11-06 03:02:48 +00:00
Andreas Gustafsson
06278dd28a
grammar summary output for named maps was missing the name field
2001-11-05 22:24:31 +00:00
Andreas Gustafsson
ca08f931b9
regenerated
2001-11-05 21:36:27 +00:00
Andreas Gustafsson
569b52d136
don't try to insert the nonexistent file lib/bind/COPYRIGHT into configure.in
2001-11-05 21:34:51 +00:00
Andreas Gustafsson
ff303bcf27
Begin comments with capital letter; misc other
...
comment cleanup
2001-11-05 20:02:41 +00:00
Andreas Gustafsson
67145f44e5
don't say "'foo' unexpected near 'foo'" - once is enough
2001-11-05 18:21:22 +00:00
Andreas Gustafsson
7e2f4ceafa
1104. [bug] Invalid arguments to the transfer-format option
...
could cause an assertion failure. [RT #1995 ]
2001-11-05 18:19:46 +00:00
Andreas Gustafsson
0902c53969
typo in debug message [RT #1989 ]
2001-11-04 19:20:39 +00:00
Mark Andrews
50c7ddaa5e
pullup from BIND 8.3:
...
1284. [bug] struct __res_state was still broken after #1265 .
2001-11-02 23:23:34 +00:00
Andreas Gustafsson
7c6f960a20
remove empty line
2001-11-02 22:31:38 +00:00
Danny Mayer
93c498f0c6
ntfile.c now unnecessary as the iob array is now properly referenced
2001-11-02 05:22:05 +00:00
Danny Mayer
e5cba9f559
Win32 I/O - remove ntfile routines and _iob from .def files. Standard calls now work
2001-11-02 05:02:15 +00:00
Mark Andrews
552a117791
1101. [bug] Array bounds read error in lwres_gai_strerror.
2001-11-02 00:48:06 +00:00
Andreas Gustafsson
785d1541b6
yet another in6addr_loopback change
2001-11-01 23:20:21 +00:00
Andreas Gustafsson
9f6c66e1b3
Deal with AIX defining in6addr_any but not in6addr_loopback
...
in libc, even though both are declared in <netinet/in.h>. This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-01 22:39:30 +00:00
Mark Andrews
9d34aaa2bd
silence compiler the same way
2001-11-01 07:15:28 +00:00
Mark Andrews
f3e4c3d6c5
1100. [bug] libbind: DNSSEC key ids were computed incorrectly.
2001-11-01 06:51:25 +00:00