Commit Graph
3695 Commits
Author SHA1 Message Date
Andreas Gustafsson e240e36503 wired up the new 'provide-ixfr' option 2000-03-20 21:49:56 +00:00
Andreas Gustafsson a54b377fd3 log a message saying whether an incoming zone transfer is
incremental or not
2000-03-20 21:07:48 +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
Andreas Gustafsson 72166c5cf5 made 'support-ixfr' a synonym for 'request-ixfr' 2000-03-20 19:40:04 +00:00
Andreas Gustafsson aa8e34546c commented nonobvious INSIST() 2000-03-20 19:33:20 +00:00
Andreas Gustafsson 2d2bd6a7ae style changes from code review 2000-03-20 19:32:10 +00:00
Andreas Gustafsson b538f54ad3 totext_in_wks() consumed two bytes for the one-byte
protocol field, causing the port list to be printed incorrectly
2000-03-20 19:29:44 +00:00
Andreas Gustafsson a3c9e34301 print the 'other data' in multiline mode if nonempty 2000-03-20 18:40:28 +00:00
Andreas Gustafsson ea5bd6a950 source region was not consumed in fromwire_in_nsap() (RT #73) 2000-03-20 18:03:53 +00:00
Andreas Gustafsson afda57a68e changes from code review: use ISC_LIST_EMPTY(msg->sections[i])
rather than msg->counts[i] > 0 to determine whether a section is
empty, since the count field does not track pseudosections
2000-03-20 16:57:46 +00:00
Mark Andrews ac4e7a61a8 Default tracing off. 2000-03-20 12:42:35 +00:00
Mark Andrews e420bc4e0d Add request to build. 2000-03-20 12:27:33 +00:00
Mark Andrews afbc024820 Add DNS_R_USETCP. 2000-03-20 12:26:32 +00:00
Mark Andrews 48df229b7b Add request/requestmgr support. 2000-03-20 12:25:48 +00:00
Mark Andrews 78da321b43 checkpoint 2000-03-20 12:22:02 +00:00
James Brister 1774961457 review changes. 2000-03-19 03:15:49 +00:00
James Brister ad1b7dd6b9 sample usage of request-ixfr and provide-ixfr 2000-03-19 03:14:20 +00:00
James Brister 5475a2d296 Support request-ixfr and provide-ixfr values in options and server
statements.
2000-03-19 02:58:15 +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 5805e57141 isc_task_setname(omapi_task, "omapi", NULL) 2000-03-18 02:04:16 +00:00
David Lawrence 64339caa43 removed unused "result" stack var from digest_afsdb 2000-03-18 01:46:15 +00:00
Bob Halley 0e58c0998d don't catch SIGQUIT 2000-03-18 01:29:48 +00:00
Brian Wellington 9dee95b41c code review - minor formatting changes, remove duplicate assignment,
add a comment to reinspect a loop later
2000-03-18 01:00:57 +00:00
David Lawrence 71f93ef065 Use task method for listener shutdown. 2000-03-18 00:54:07 +00:00
David Lawrence f96b41064b create socketmgr and taskmgr, pass to omapi_lib_init, and destroy when done 2000-03-18 00:53:11 +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
James Brister 3bb4fdd9cc remove unused rcsid variable 2000-03-18 00:46:47 +00:00
David Lawrence 7700639655 include <dns/result.h> 2000-03-18 00:42:07 +00:00
David Lawrence 0e766071d0 clarified requires/ensures for isc_task_detach and isc_task_sendanddetach 2000-03-18 00:41:27 +00:00
David Lawrence d5db7668a7 added ISC_EVENTCLASS_OMAPI 2000-03-18 00:40:33 +00:00
David Lawrence b6fec50e2d Added destroy_action and destroy_arg to OMAPI_OBJECT_PREAMBLE, called
from omapi_object_dereference when an object is destroyed.

Provide OMAPI_EVENT_OBJECTFREED definition to be sent as an event when
an object is destroyed.

Callback parameter to omapi_protocol_listen and omapi_listener_listen
changed type to isc_taskaction_t.

omapi_lib_init takes new taskmgr and socketmgr parameters.
2000-03-18 00:39:36 +00:00
David Lawrence c998ce2416 new global, omapi_task 2000-03-18 00:35:57 +00:00
David Lawrence ef6e6be484 Callback parameter for omapi_protocol_listen changed to isc_taskaction_t. 2000-03-18 00:35:33 +00:00
David Lawrence a9de67bf35 Call the destroy_action callback in an object, if it exists, after
omapi_object_dereference has freed the memory allocated for the object.
2000-03-18 00:34:53 +00:00
David Lawrence 7aa48442b0 Instead of setting a listener callback that is called by listener_destroy,
set the destroy_action callback used by omapi_object_dereference.
2000-03-18 00:34:13 +00:00
David Lawrence 2215fe02f1 Require a taskmgr and socketmgr for omapi_lib_init.
Create an omapi_task in omapi_lib_init and destroy it in omapi_lib_destroy.
2000-03-18 00:33:15 +00:00
Michael Graff f31f0b63cb review code, add UNUSED() where needed, fix a bug made yesterday with RETERR() 2000-03-18 00:19:26 +00:00
Andreas Gustafsson e6c22f37d8 backed out inappropriate use of RETERR() in
*_compare(); renamed 'result' to 'order' to avoid future confusion
2000-03-17 21:43:46 +00:00
Bob Halley d10099d866 Code review:
Style updates.
	Correct some comments.
	Printing "other" field now respects multiline mode.
	from/to struct routines now allocate 0 byte memory instead of
	leaving the pointer NULL if keylen or otherlen are 0.
2000-03-17 21:13:02 +00:00
Brian Wellington 06ec9f45f4 code review changes - minor formatting, updated RFC reference 2000-03-17 21:03:34 +00:00
Brian Wellington 21fbf56571 Use isc_mem_get(0) rather than NULL pointers in regions 2000-03-17 19:50:22 +00:00
Andreas Gustafsson 9b5be7076f code review 2000-03-17 19:35:25 +00:00
Andreas Gustafsson 66e45550c6 unused variable 2000-03-17 19:20:25 +00:00
Bob Halley ea462c55f1 Fix typo.
Use #if ... #endif to comment out a section that had been commented out with
C++ // comments.  The // comments are not supported by all C compilers.
2000-03-17 18:27:41 +00:00
Andreas Gustafsson 39967fd111 added RFC1348 because we implement NSAP-PTR which is defined there
(even though it is obsoleted by RFC1706)
2000-03-17 18:25:56 +00:00
Andreas Gustafsson 1eb5ce8f90 code review 2000-03-17 18:18:28 +00:00