Commit Graph
1699 Commits
Author SHA1 Message Date
Bob Halley 6cff00c8e1 cancel the correct socket. 2000-01-19 00:50:42 +00:00
Andreas Gustafsson 206a60c0d7 eliminated global variable ns_g_rootns; simplified
server startup/cleanup procedure
2000-01-18 23:38:42 +00:00
Andreas Gustafsson d3f21080e6 report socket errors using isc_log_write, not UNEXPTECTED_ERROR 2000-01-18 22:57:24 +00:00
Andreas Gustafsson b23d5b6191 eliminated compiler warning and extra
newline in error message
2000-01-18 22:49:55 +00:00
Andreas Gustafsson b3d8a5883a access server config data only during initial setup,
to simplify locking
2000-01-18 22:21:57 +00:00
Bob Halley 13886f5d45 eliminate compiler warning 2000-01-18 18:16:34 +00:00
Andreas Gustafsson b03758b04e eliminated global variables ns_g_zonemgr and ns_g_clientmgr 2000-01-18 18:09:47 +00:00
Andreas Gustafsson d468db05b3 client manager cleanup could access freed memory 2000-01-18 18:07:07 +00:00
Andreas Gustafsson e57d7e30f1 merged the two functions ns_clientmgr_addtodispatch() and
ns_clientmgr_accepttcp() into a new single function,
ns_clientmgr_createclients()
2000-01-17 23:48:15 +00:00
Andreas Gustafsson 1d5114b9a4 wired up the new 'tcp-clients' and 'recursive-clients' options 2000-01-17 20:07:31 +00:00
Andreas Gustafsson 0f03a5d6a7 wired up the 'transfers-out' config option 2000-01-15 00:37:31 +00:00
Andreas Gustafsson 01b16bff8b client can now reserve multiple types of quota simultaneously 2000-01-15 00:37:00 +00:00
Andreas Gustafsson 09df1930e9 client can now reserve multiple types of quota simultaneously;
client quota bug fixes
2000-01-15 00:36:47 +00:00
Andreas Gustafsson ff03559f14 client can now reserve multiple types of quota simultaneously;
removed unused clienttype argument; client quota bug fixes
2000-01-15 00:36:26 +00:00
Andreas Gustafsson cec6fc9dc5 client can now reserve multiple types of quota simultaneously;
added module info comment; removed unused ns_clienttype_t and ns_client_destroy
declarations
2000-01-15 00:35:41 +00:00
Andreas Gustafsson 7693d4de8f added dns_acl_any(), dns_acl_none() 2000-01-13 23:38:55 +00:00
Andreas Gustafsson a55d0a9080 obey the 'listen-on' configuration option 2000-01-13 23:32:41 +00:00
Andreas Gustafsson ad61cbe04f previously static server_task is now ns_g_server->task 2000-01-13 22:07:24 +00:00
Andreas Gustafsson 0084a7ed9c reasonable default values for client quotas 2000-01-13 21:17:08 +00:00
Andreas Gustafsson eb37a8ce9e headers should not include themselves 2000-01-12 22:22:50 +00:00
Andreas Gustafsson bbc11ade9b no need to #include <zone.h> 2000-01-12 22:21:20 +00:00
Andreas Gustafsson 0c32f6b044 added shutdown callback to client object;
used it to abort outgoing zone transfers on client shutdown
2000-01-12 18:01:12 +00:00
Andreas Gustafsson 6b99e640f3 80 columns 2000-01-12 01:19:47 +00:00
Andreas Gustafsson b778773c61 made server cleanup be more like a mirror image of
the server setup, to ensure that the server object is not destroyed
while still being used
2000-01-12 01:17:34 +00:00
Andreas Gustafsson 559b10cc8f client quotas; added reference counting to ns_interface_t
and ns_interfacemgr_t so that they can safely hold quota information
2000-01-11 21:18:22 +00:00
Andreas Gustafsson 08d93839d7 support multiple simultaneous clients by creating new
client objects in place of busy ones, in preparation for client quotas
2000-01-07 19:20:25 +00:00
Bob Halley 45068fd4dc fix problem with SRV recursive additional data 2000-01-07 02:42:45 +00:00
Michael Graff 0941f35ad9 Start moving the dispatcher code to allow it to be used for wire format as well as for lightweight resolver daemon stuff. 2000-01-07 01:17:47 +00:00
Andreas Gustafsson efc3180a0e INSIST that there are no outstanding reads when
destroying tcpmsg; update comments accordingly
2000-01-06 18:25:08 +00:00
David Lawrence 0bd4e3591a reversing bogus checkin 2000-01-06 15:02:16 +00:00
David Lawrence cc1b6f86f2 added ISC_RESULTCLASS_OMAPI 2000-01-06 14:47:39 +00:00
Andreas Gustafsson 2cb0da946e the client and query data structures were not cleaned up
correctly if the server got a SIGINT with a recursive query in progress
2000-01-06 01:09:27 +00:00
Andreas Gustafsson f9e00d0112 shutdown cancelled accept on wrong socket 2000-01-04 22:05:31 +00:00
Andreas Gustafsson 721e468db0 eliminated global variable ns_g_interfacemgr;
rescan interface list on reconfiguration
2000-01-04 22:02:26 +00:00
Andreas Gustafsson e8e73ca025 eliminated global variable ns_g_interfacemgr 2000-01-04 22:01:54 +00:00
Mark Andrews 6b32dc65e4 A whole lot of logging currently disabled with noop MACRO. 1999-12-24 00:43:46 +00:00
Michael Graff 3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Andreas Gustafsson 542189f21b dns_result_torcode() now converts ISC_R_SUCCESS into
dns_rcode_noerror, not dns_rcode_servfail
1999-12-22 22:11:18 +00:00
Andreas Gustafsson ae6851be33 free old tsig/tkey configuration when reloading configuration 1999-12-22 21:23:32 +00:00
Andreas Gustafsson 582732ce15 war on global variables continues: ns_g_viewlist and
ns_g_viewlock are now gone
1999-12-22 18:45:56 +00:00
Andreas Gustafsson 143592a649 new client shutdown cleanup strategy 1999-12-22 16:59:05 +00:00
Michael Graff 733b16eb0b priority rendering 1999-12-22 03:22:59 +00:00
Andreas Gustafsson eb1c982e52 dns_c_ctx_get*acl now increment the reference count of the ipml 1999-12-21 21:51:57 +00:00
Mark Andrews 971d7014aa We can't say how many bytes are being sent as the message has not been
rendered yet.
1999-12-21 00:33:17 +00:00
Andreas Gustafsson 12cc22fc73 When waiting for a TCP request, receiving a response
instead caused an assertion failure
1999-12-20 23:06:17 +00:00
James Brister 7027fd24a2 Fix name (style) of accessor function used. 1999-12-17 18:27:16 +00:00
Andreas Gustafsson 8f79820c69 wired up the 'cleaning-interval' config option 1999-12-17 01:02:49 +00:00
Andreas Gustafsson 573b8b48d8 Eliminated the global variable ns_g_confctx. The config
data is now kept around only for the duration of the server (re)configuration
process and then immediately freed.
1999-12-17 00:19:29 +00:00
Michael Graff 2015bf18c9 remove ../../isc/util.h that Andreas put back in. 1999-12-16 23:37:27 +00:00
Michael Graff 58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00