Commit Graph
2017 Commits
Author SHA1 Message Date
David Lawrence 016440cdc6 no longer define ISC_MEM_DEBUG by default 2000-01-24 05:36:37 +00:00
David Lawrence 8956a08701 mem_put the size of an omapi_value_t struct, not the size of a pointer to it. 2000-01-24 05:35:18 +00:00
David Lawrence 8443d38dce object dereferencing finally works!!! 2000-01-24 05:33:59 +00:00
David Lawrence f07a9b2854 make omapi_message_unregister public
clarify the REQUIRE for omapi_message_unregister.

allow omapi_message_send to be called with a protocol manager object
in addition to a protocol object.

always remove the reference added to the object referred to in an UPDATE
operation, not just on error.  it is a temporary variable and the extra
reference kept the object from being freed.

insist the message being destroyed in message_destroy is unregistered,
which follows logically from how message_destroy would be called anyway.
2000-01-24 05:33:04 +00:00
David Lawrence 8fc824d047 include <config.h>, since the definition of HAVE_NETINET6_IN6_H
is needed in this file.
2000-01-24 05:25:09 +00:00
David Lawrence 22ad324c4a deref the external reference to the protocol object when a new connection
is started on the server so both the connection object and protocol object
are freed when the session ends.
2000-01-24 05:14:24 +00:00
David Lawrence a3035a9c9c break the link between the protocol object and its inner object when
the client is ending its session with the server, so that the connection
object and protocol object can be freed.
2000-01-24 05:05:43 +00:00
Mark Andrews 200bf90364 Use lwres/netdb.h 2000-01-24 03:35:01 +00:00
Mark Andrews 8bddb73c66 Add support for differing gethostbyaddr(), sethostent() and endhostent(). 2000-01-24 01:16:43 +00:00
Brian Wellington b6666e61dc More TSIG/TKEY minor fixes (including a few more plugged memory leaks) 2000-01-22 04:45:17 +00:00
Bob Halley 29fe07c7a4 Move to DNS namespace. Add ISC_LANG stuff. 2000-01-22 02:36:15 +00:00
Bob Halley 8510686e0c fix typo 2000-01-22 02:35:10 +00:00
Bob Halley b199c609b1 Only set SO_REUSEADDR for TCP sockets. 2000-01-22 02:29:49 +00:00
Bob Halley 5d2d3e24ce Put the root servers into alphabetical order. 2000-01-22 02:28:04 +00:00
Andreas Gustafsson 8f16e457f7 dns_rootns_create() is now in libdns 2000-01-22 01:59:02 +00:00
Andreas Gustafsson 3a7a4eb1a5 trailing newlines are no longer needed in messages printed
using the rdata callbacks, and were never needed when calling
UNEXPECTED_ERROR
2000-01-22 01:41:17 +00:00
Bob Halley 97f1a75cf0 reload support 2000-01-22 01:39:35 +00:00
Bob Halley 010170f711 add ISC_R_RELOAD 2000-01-22 01:39:17 +00:00
Andreas Gustafsson 2680c1bb61 log master file loading errors through the logging subsystem
by default
2000-01-22 01:38:58 +00:00
Andreas Gustafsson 036df8a12d exit server if loading a zone fails during initial startup
(but not if it fails during a subsequent reload)
2000-01-22 01:36:34 +00:00
Andreas Gustafsson 68c703dd71 GETTOKEN() macro did not set result, causing
dns_master_load() to print messages like "dns_master_load: success".
Also, result of dns_time64_fromtext() was not checked.
2000-01-22 00:28:00 +00:00
Bob Halley 97a274369d edns_level was not being initialized. 2000-01-22 00:26:57 +00:00
Bob Halley f8d472bac0 Minor cleanups. 2000-01-22 00:23:07 +00:00
Bob Halley fe197676cc handle CNAME/DNAME results from A6 fetches 2000-01-22 00:19:55 +00:00
David Lawrence e0f30c15b6 checkpoint 2000-01-22 00:18:05 +00:00
Brian Wellington 8dd915daf3 obvious memory leaks 2000-01-21 22:51:48 +00:00
Andreas Gustafsson c8d4fd8926 support setting the TSIG keys more than once 2000-01-21 22:36:59 +00:00
Andreas Gustafsson 72f8abc08b destroy() did not free TSIG keys; result from dns_tsig_init()
was not checked
2000-01-21 22:15:43 +00:00
Andreas Gustafsson a523752c60 do DNS_MESSAGE_VALID check in dns_tsig_verify() instead of
dns_view_checksig(); that way view.c does not need to include <dns/message.h>
2000-01-21 21:50:45 +00:00
Brian Wellington b984520acc major TSIG/TKEY cleanup 2000-01-21 20:18:41 +00:00
Andreas Gustafsson 4380033dc4 dns_zone_manage() has been superseded by dns_zonemgr_managezone();
made dns_zone_manage() static so that it cannot be called by mistake
2000-01-21 19:52:03 +00:00
Andreas Gustafsson 6889d57aab don't needlessly destroy and recreate zones when doing minor reconfigurations 2000-01-21 19:22:35 +00:00
Andreas Gustafsson 395130717a dns_zone_setorigin() now takes a dns_name_t *, not a char * 2000-01-21 19:21:14 +00:00
Mark Andrews ebd4c01b59 seperate test for AI_NUMERICHOST 2000-01-21 05:34:53 +00:00
Bob Halley 4abed3e356 CNAME/DNAME chaining (initial support; A6 still missing) 2000-01-21 02:50:27 +00:00
Bob Halley 5dbf258e2c add comment 2000-01-21 02:49:07 +00:00
Bob Halley f53e43c37f add DNS_R_ALIAS 2000-01-21 02:48:42 +00:00
Bob Halley 7fc55ea79f conform to resolver api changes 2000-01-21 02:48:28 +00:00
Bob Halley 46cfdf4977 cancelfetch and destroyfetch no longer take a resolver argument 2000-01-21 02:47:38 +00:00
Bob Halley a7f0ce6fe7 Canceling or destroying a fetch no longer requires the resolver to be specified
as an argument to the function.
Conform to dns_adb_createfind() API changes.
cache_name() leaked the node reference in some cases; this would prevent
database cleanup from occurring later on.
2000-01-21 02:47:30 +00:00
Bob Halley 3baef4d529 Detaching an rdataset after the last reference to its database had been
detached did not trigger an exit check if the bucket's reference count went
to zero.
2000-01-21 02:43:07 +00:00
Mark Andrews 4809af1b58 prototypes are now in netdb.h 2000-01-21 02:15:37 +00:00
Mark Andrews 058eeac210 add limits.h for INT_MAX 2000-01-21 02:13:38 +00:00
Mark Andrews eda879bf41 Check for AI_NUMERICHOST seperately. 2000-01-21 02:08:24 +00:00
Mark Andrews af5315fd93 <string.h> -> <isc/sting.h> for strsep(). 2000-01-21 02:03:16 +00:00
Mark Andrews 76ede14af1 Add strsep test results to platform.h 2000-01-21 02:01:10 +00:00
Mark Andrews 483a5a91ad add isc_strsep() and isc/string.h 2000-01-21 01:40:27 +00:00
Michael Graff 12e302d5c7 free the allocated aliaslen array when freeing the alias name point array 2000-01-21 00:00:20 +00:00
Michael Graff 88ed7381f1 checkpoint; return lengths of each name as well as the name itself. 2000-01-20 23:58:27 +00:00
Michael Graff 17614edd7e small optimization; no functional change 2000-01-20 21:34:08 +00:00