Brian Wellington
3cab47dbea
A read lock could incorrectly be granted in some cases.
2000-08-24 19:06:38 +00:00
Andreas Gustafsson
dcfbc7c73e
do not clear lctx->buffer before it is has been locked
2000-08-24 18:21:40 +00:00
Andreas Gustafsson
249b19d917
print lock address and thread ID in rwlock trace messages
2000-08-24 17:06:31 +00:00
Andreas Gustafsson
ec46482ef3
dispatch log messages had request/response backwards
2000-08-24 16:56:48 +00:00
Andreas Gustafsson
eb5670ecd2
send task trace output to stderr, not stdout, so that
...
it gets buffered synchronously with logging output sent to stderr
2000-08-24 01:40:46 +00:00
Andreas Gustafsson
ce4ccd5d7f
const correctness
2000-08-24 01:38:46 +00:00
Andreas Gustafsson
1ccdb91515
typo in comment
2000-08-24 01:19:58 +00:00
Andreas Gustafsson
60cf8301f9
drop parser support for dns_c_forw_noanswer and dns_c_forw_nodomain
...
as the server does not implement them (lacking a spec for what they should do)
2000-08-23 23:56:44 +00:00
Andreas Gustafsson
5bf922fd09
use all lower case in error messages
2000-08-23 23:54:58 +00:00
Brian Wellington
1aae88078f
404. [bug] The request library didn't completely work with IPv6.
2000-08-23 19:47:00 +00:00
Brian Wellington
0a45f098e4
Obey the DNS_DBFIND_GLUEOK flag in find().
2000-08-23 18:45:13 +00:00
Brian Wellington
60b90a37f4
Support for AXFR and minor cleanup.
2000-08-23 18:28:03 +00:00
Andreas Gustafsson
6cab5e204c
write ASCII NUL as '\0', not 0
2000-08-23 02:21:16 +00:00
Brian Wellington
9ce72fc748
don't print parens at all if in non-multiline mode.
2000-08-22 22:07:13 +00:00
Brian Wellington
75e1e12f48
use a 'dns_sdbmethods_t' instead of passing all of the functions to
...
dns_sdb_register as parameters.
2000-08-22 22:06:46 +00:00
Andreas Gustafsson
ce2d576f3c
another missing /* NOMINUM_PUBLIC */ comment
2000-08-22 19:32:47 +00:00
Andreas Gustafsson
f0bdf4aa8b
#endif /* NOMINUM_PUBLIC */ was missing the required comment
2000-08-22 17:36:31 +00:00
Andreas Gustafsson
8a63ecd933
silenced compiled warning about a potentially uninitialized
...
variable; INSIST that the variable is indeed initialized
2000-08-22 17:32:07 +00:00
Andreas Gustafsson
7bee275ebe
added lwres_context_send(), lwres_socket_recv(),
...
lwres_context_getsocket() to support clients doing async lookups
2000-08-22 16:20:21 +00:00
Mark Andrews
8249eee42a
notify-any to allow-notify conversion.
...
notify-relay to notify-forward conversion.
2000-08-22 05:14:59 +00:00
Andreas Gustafsson
5965096e50
made flags values use leading zeros to indicate field width
2000-08-22 01:46:12 +00:00
Andreas Gustafsson
697d35a286
oops, new multiple inclusion protection
...
macro did not follow naming convention either
2000-08-22 01:37:50 +00:00
Andreas Gustafsson
901e137229
CVS Id was duplicated; multiple inclusion protection
...
macro did not follow naming convention
2000-08-22 01:35:34 +00:00
Andreas Gustafsson
acec8ad69d
CVS Id was duplicated; removed an empty line
2000-08-22 01:27:27 +00:00
Brian Wellington
4fd3021d3b
comment updates, remove duplicate rcsid.
2000-08-22 01:26:08 +00:00
Brian Wellington
f5a9dda3f3
dns_db_ispersistent() really returns an isc_boolean_t.
2000-08-22 01:20:05 +00:00
Brian Wellington
08eb1c80d2
dns_message_setsig0key was incorrectly requiring msg->buffer to be non-null.
2000-08-22 01:10:42 +00:00
Brian Wellington
87af548ceb
Add sdb.h to the list of headers to be installed.
2000-08-22 00:55:21 +00:00
Brian Wellington
e158719874
compile sdb.c and link it into libdns.
2000-08-22 00:54:57 +00:00
Brian Wellington
a4c351fcef
Add a flags field to dns_sdb_register. One flag requests that names passed in
...
be relative, and another specifies that rdata strings will contain relative
names.
2000-08-22 00:53:31 +00:00
Andreas Gustafsson
0736cce338
made dns_name_getlabelsequence() cope with degenerate
...
relative names containing no labels
2000-08-22 00:46:54 +00:00
Andreas Gustafsson
70e2821036
additional consistency checking
2000-08-21 23:22:01 +00:00
Brian Wellington
67d3660cd6
The message code was checking to see if an rdata type could appear in the
...
question section, and returning a formerr if it was invalid. This isn't
exactly right, since it should be the caller's responsibility to check, not
message_parse. It definitely caused weirdness when parsing responses, and
the only places where queries were parsed already does the right thing.
2000-08-21 22:41:13 +00:00
Brian Wellington
ea18740a0a
Only call dns_db_load if the zone is not persistent. dns_db_ispersistent()
...
should be called in more places, but this is the only one absolutely
necesaary for simple databases to work.
2000-08-21 22:20:32 +00:00
Brian Wellington
e89aeaa2c0
register "simple" as a database type.
2000-08-21 22:19:04 +00:00
Brian Wellington
994940a565
update the copyright.
2000-08-21 22:18:11 +00:00
Brian Wellington
408633bd04
Make some rdatalist functions semi-public, so that the simple database
...
rdataset can reuse most of the code.
2000-08-21 22:17:14 +00:00
Brian Wellington
033ba09d6d
Simple database implementation. This includes a wrapper that makes a simple
...
database look like a dns_db_t, and a set of routines to be called by specific
simple databases.
2000-08-21 22:15:28 +00:00
Brian Wellington
16797b504e
SIG(0) signing and verifying had an off by 2 error.
2000-08-21 17:48:46 +00:00
Andreas Gustafsson
2d1bc69493
#endif missing required /* NOMINUM_PUBLIC */ comment
2000-08-19 00:47:57 +00:00
Andreas Gustafsson
84c25ccb3d
NOMINUM, not NOMINMUM
2000-08-19 00:47:18 +00:00
Andreas Gustafsson
6c86627ede
NOMINUM, not NOMINMUM
2000-08-19 00:39:23 +00:00
Andreas Gustafsson
a7705f38e9
399. [bug] When reloading the server with a config file
...
containing a syntax error, it could catch an
assertion failure trying to perform zone
maintenance on, or sending notifies from,
tentatively created zones whose views were
never fully configured and lacked an address
database and request manager.
2000-08-18 22:51:36 +00:00
Andreas Gustafsson
7acfb3bcd2
previous change did not compile
2000-08-18 22:32:45 +00:00
Andreas Gustafsson
618a5e4923
dns_cache_setcleaninginterval() could try to access
...
timer after it had been freed
2000-08-18 21:22:26 +00:00
Brian Wellington
fe12eb4fc2
Add dns_db_ispersistent. This call determines whether a database is
...
persistent - that is, whether it maintains itself and doesn't require
loading, dumping, and other related things.
2000-08-18 18:25:28 +00:00
Brian Wellington
f7fe55549d
The error message 'has 0 SOA records' incorrectly failed to pluralize
...
record.
2000-08-18 02:34:29 +00:00
Andreas Gustafsson
3c0ca050f1
removed comments that duplicated ones in the header file
2000-08-17 23:54:32 +00:00
Andreas Gustafsson
6826f014d6
cleaned up comments and added missing ones
2000-08-17 23:45:12 +00:00
Brian Wellington
4e0c5cba87
Added isc_consttextregion_t
2000-08-17 23:33:04 +00:00