Commit Graph
33 Commits
Author SHA1 Message Date
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
Michael Graff 04458c8b5d fix a bug pointed out by Andreas -- don't detach from socket then use it. 2000-01-06 23:01:07 +00:00
Michael Graff 440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Michael Graff b8ef99c3a7 make the lfsr's real lfsr's, and use two of them to generate random-looking IDs 1999-12-16 00:07:21 +00:00
Michael Graff 607dc8013a make dispatcher hash sizes be primes, and provide an increment to help
resolve hash collisions
1999-12-15 17:14:52 +00:00
Michael Graff 0a9fedafec Use an LFSR to generate unpredictable IDs. 1999-12-15 03:11:00 +00:00
Michael Graff 6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Bob Halley 3cd4668988 In tcp_recv(), free the event before calling destroy(), since the event is
a statically allocated part of the tcpmsg.
1999-11-16 21:05:09 +00:00
Michael Graff 233f59d933 put names on memory pools 1999-10-22 05:18:35 +00:00
Bob Halley 6d58c9b95e unsend 1999-10-07 19:38:39 +00:00
Bob Halley 271d5bfc5c conforming changes for task API simplification 1999-09-23 21:31:03 +00:00
Michael Graff 11e2a221f1 hack on socket code more, trying to track down a bug 1999-07-28 23:04:33 +00:00
Michael Graff d524cd03ec make the isc_socket_recv() partial flag be a byte count instead, which allows
us to say "read at least 2 bytes" for things like a DNS packet over TCP.
1999-07-28 21:30:37 +00:00
Michael Graff 6f1422b81e fix many bugs. 1999-07-22 01:34:31 +00:00
Michael Graff 3446e5e932 Don't allow responses/requests to be attached to dispatchers which are
shutting down
1999-07-14 22:16:19 +00:00
Bob Halley ef4b66d355 update isc_sockettype_t enum names 1999-07-13 01:49:33 +00:00
Michael Graff 2743e0ce08 s/dns_dispatch_destroy()/dns_dispatch_detach()/g 1999-07-13 00:25:21 +00:00
Michael Graff c6066a8e67 make this (mostly) work with tcp 1999-07-12 23:44:31 +00:00
Bob Halley 9db3eaed95 the event tag is now a void * 1999-07-10 00:55:07 +00:00
Michael Graff 04135883be cleanup a few return codes 1999-07-10 00:15:41 +00:00
Michael Graff 7f1bd55920 s/printf/XDEBUG()/g 1999-07-09 20:42:55 +00:00
Michael Graff bd7237e653 add another REQUIRE() where it might help 1999-07-09 20:34:26 +00:00
Michael Graff c16cc434ef checkpoint; add dns_dispatch_getsocket() to return the socket being used 1999-07-09 20:32:12 +00:00
Michael Graff 6fe411037d checkpoint 1999-07-09 02:47:55 +00:00
Michael Graff 58efc48a96 checkpoint 1999-07-09 01:57:55 +00:00
Michael Graff d1ba6e9180 snapshot 1999-07-09 00:51:08 +00:00
Michael Graff 0b14ebe313 checkpoint 1999-07-08 22:12:37 +00:00
Michael Graff 1ec39fc7a8 checkpoint 1999-07-08 02:50:00 +00:00
Michael Graff ab0e506608 checkpoint 1999-07-06 19:32:40 +00:00
Michael Graff 8d1943e8ff add dns_dispatch_attach/detach(), and start on serious dispatcher hacking. 1999-06-30 01:33:11 +00:00
Michael Graff 54a64ec428 checkpoint 1999-06-18 23:54:59 +00:00
Michael Graff a8dcebd041 checkpoint 1999-06-18 02:01:42 +00:00
Michael Graff 83f8c56f43 checkpoint 1999-06-16 01:32:31 +00:00