Commit Graph
517 Commits
Author SHA1 Message Date
Bob Halley 5fe66a90ca axfr_rrstream_first() didn't check the result code of
db_rr_iterator_first(), possibly causing an assertion to be triggered
later.
2000-03-29 19:01:47 +00:00
Bob Halley 60771bb1b4 When making an OPT RR, initialize rdata's type and rdclass fields to avoid
triggering an assertion.
Add definitions for CTRACE and MTRACE of NS_CLIENT_TRACE is not defined.
2000-03-29 18:57:36 +00:00
Bob Halley 077daa2122 Prevent capability.h from #including <linux/fs.h>. When a 2.3 <linux/fs.h> is
included, we get conflicts between <string.h> and <linux/string.h> that
make the compilation fail.  This change also eliminates compiler warnings when
os.c is compiled on a system with a 2.2 <linux/capability.h>.
2000-03-28 19:46:53 +00:00
Michael Graff ed0b018ee0 minor reformatting issue; no functional change made. 2000-03-28 00:10:02 +00:00
Michael Graff 0a48eff8c7 remove debugging printf that stuck in 2000-03-28 00:09:28 +00:00
Bob Halley acee756e38 lint 2000-03-23 22:51:53 +00:00
Bob Halley e81af5be3e lint 2000-03-23 20:01:41 +00:00
Andreas Gustafsson 5fe5a0c026 revised logging categories 2000-03-23 00:55:12 +00:00
Andreas Gustafsson 02fd64a1fc put single quote around logging channel name in error message 2000-03-23 00:51:29 +00:00
Andreas Gustafsson 7e03d1e22f wired up the new 'provide-ixfr' option 2000-03-20 21:06:27 +00:00
Andreas Gustafsson 4bc5101166 wired up the new 'request-ixfr' option 2000-03-20 19:42:21 +00:00
David Lawrence 82e902bfde omapi_lib_destroy() in destroy_managers() if no ns_g_omapimgr started 2000-03-18 02:52:10 +00:00
David Lawrence 01bc26dc4c dns_acl_detach after passing the acl the omapi_listener_listen 2000-03-18 02:38:20 +00:00
Bob Halley 5a8c6cd711 shutdown omapi before destroying the task manager. 2000-03-18 02:23:53 +00:00
David Lawrence b986772b1a ns_omapi_init now takes no parameters 2000-03-18 00:50:25 +00:00
David Lawrence 878f2cd4a2 Pass ns_g_taskmgr and ns_g_socketmgr to omapi_lib_init.
listen_done changed to an isc_taskaction_t.
2000-03-18 00:49:54 +00:00
Andreas Gustafsson 2539896175 do not indent CVS ID comment 2000-03-17 17:49:37 +00:00
Bob Halley d72c8b8c6a Do not detach 'db' in the NOTFOUND case if it is NULL. This should not
happen, but is a possible result if the resolver returned NOTFOUND.
2000-03-17 00:07:02 +00:00
David Lawrence aaf2232697 dereference ns_g_omapimgr in listen_done 2000-03-16 20:04:47 +00:00
David Lawrence 8e12f9c899 style lint 2000-03-14 21:19:31 +00:00
David Lawrence 177bbc4098 omapi_lib_destroy after the omapimgr has been destroyed 2000-03-14 19:55:26 +00:00
David Lawrence 5e2d1dbba6 dereference ns_g_omapimgr in omapi.c:listen_done 2000-03-14 19:49:28 +00:00
David Lawrence 4f43520297 use listen_done callback when listener finishes 2000-03-14 19:48:48 +00:00
David Lawrence 34d51626b3 ns_omapi_init declaration 2000-03-14 04:08:39 +00:00
David Lawrence 3388760bca use ns_omapi_init in place of omapi_lib_init 2000-03-14 04:07:52 +00:00
David Lawrence d2f2ad3d56 break control object initialization into ns_omapi_init; initialize 127.1 acl 2000-03-14 04:07:26 +00:00
Michael Graff ae8d0aedd6 implement pktinfo through dispatcher -> named client 2000-03-14 03:30:52 +00:00
Andreas Gustafsson 1c4fb0e315 wired up the transfer-source-v6 option 2000-03-08 22:31:52 +00:00
Brian Wellington 84feab0fad If an ssutable is present, it's used instead of an allow-update acl 2000-03-06 19:08:05 +00:00
Brian Wellington 6fcfd0c35d ssutables are now attached/detached; zones get ssutables from config structs 2000-03-06 19:06:07 +00:00
Andreas Gustafsson 443b9e6e51 TCP client objects in excess of quota were recycled
too early, at the end of the request, instead of being kept around to serve
subsequent requests on the same TCP connection and recycled only when the
connection is closed (RT #66)
2000-03-06 17:35:13 +00:00
David Lawrence 4bcc9c7bdc When loading a configuration file, set log defaults if and only if no
"category default" clause was found in a logging statement.
2000-03-04 18:30:56 +00:00
David Lawrence 5542df0959 When loading a configuration file, set log defaults if and only if no
"category default" clause was found in a logging statement.

When setting defaults, use ISC_LOGCATEGORY_DEFAULT for the category parameter
instead of NULL.

Don't do the isc_log{category,module}byname lookup every time through the
loop in logconf.c:category_fromconf(); it can be done just once, before
entering the loop.
2000-03-04 16:41:48 +00:00
Andreas Gustafsson bdc155d8ce look up logging category name using isc_log_categorybyname() 2000-03-04 01:08:05 +00:00
Andreas Gustafsson 77668e0fce preserve cache contents when reloading 2000-03-02 23:47:39 +00:00
James Brister b0000a5e0f Temporary change to let things compile. 2000-03-02 03:51:36 +00:00
Andreas Gustafsson b044e6daba updated comment to reflect changed interface 2000-03-02 01:14:02 +00:00
Andreas Gustafsson a6535a2681 consistently use single quotes around quoted text in log messages 2000-03-01 22:41:59 +00:00
David Lawrence 142b9c806e format comment to 79 columns 2000-03-01 21:28:38 +00:00
Andreas Gustafsson 0e7a542683 improved error reporting 2000-03-01 20:40:33 +00:00
Andreas Gustafsson 11d435aa4c implemented logging defaults suggested by Tale 2000-03-01 20:40:14 +00:00
Andreas Gustafsson 254993b725 removed support for -ff (use -g); updated usage message accordingly 2000-03-01 18:50:58 +00:00
Andreas Gustafsson e02c696ea5 checkpoint: restructured logging configuration code
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00
Michael Graff d456800909 formatting nit; no functional change 2000-02-29 20:09:37 +00:00
Andreas Gustafsson 32b61e553b foreground mode with logging to stderr is now -g, not -ff 2000-02-29 18:37:14 +00:00
Andreas Gustafsson ef890b8214 renamed -N option to -n for portability 2000-02-28 22:19:47 +00:00
Andreas Gustafsson f30f2b279c direct logging to stderr iff the '-f' option is doubled 2000-02-28 22:17:59 +00:00
Bob Halley 21c39a1a83 initialize type in channel_fromconf() 2000-02-28 19:18:13 +00:00
Andreas Gustafsson 353dcaf1cc 'logging' statement partially wired up 2000-02-28 18:38:44 +00:00
David Lawrence edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00