2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-23 18:49:54 +00:00

70 Commits

Author SHA1 Message Date
Michael Graff
483e300c61 use recvmsg() and sendmsg() 1999-08-25 23:50:48 +00:00
Bob Halley
f4e535251b Detach from the correct task when canceling. 1999-07-28 23:25:16 +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
9bde328d3b extremely minor formatting 1999-07-28 07:02:56 +00:00
Michael Graff
863563c38b make writing use one event, too 1999-07-28 06:50:10 +00:00
Michael Graff
39fba32b02 oops, no debugging :) 1999-07-28 01:15:12 +00:00
Michael Graff
231c2cf614 use one internal event for connects and receives. Writes will be done shortly. 1999-07-28 01:07:21 +00:00
Bob Halley
86bbe826f0 add protocol family 1999-07-15 20:11:35 +00:00
Bob Halley
ef4b66d355 update isc_sockettype_t enum names 1999-07-13 01:49:33 +00:00
Bob Halley
f26747f494 event tags are now void * 1999-07-10 01:05:54 +00:00
Michael Graff
3ce0769857 add UNEXPECTED_ERROR in one place where ISC_R_UNEXPECTED is returned. 1999-07-09 20:31:35 +00:00
Bob Halley
a86239c7cd isc_sockaddr_t now has a length; dev->result was not set in internal_connect() 1999-07-07 02:05:08 +00:00
Bob Halley
283be780d8 do not need to include sys/types.h or sys/socket.h 1999-07-06 22:58:44 +00:00
Michael Graff
b456d80637 add isc_socket_gettype() 1999-06-25 01:36:52 +00:00
Bob Halley
d717d5600b event purging api change 1999-06-15 23:18:44 +00:00
Michael Graff
2bc646508d bitfields are your friend 1999-06-10 00:57:33 +00:00
Michael Graff
dbe7bf66ff More simplification. internal events are now basically a plain old event. 1999-06-10 00:50:06 +00:00
Michael Graff
81231fc4c3 simplify part of socket.c -- one internal readable event for accepting
connections.  This GREATLY simplifies cancellation, but needs testing.
1999-06-10 00:45:30 +00:00
Michael Graff
3433c5ee69 start transition to one internal event by keeping all state in the done events 1999-06-09 02:21:19 +00:00
Michael Graff
03b062e71a minor formatting change 1999-05-25 23:18:33 +00:00
Michael Graff
3402c82442 Don't attach to socket in the done event anymore, and GC the done_event_destroy() function. 1999-05-21 07:16:13 +00:00
Michael Graff
2eed8ba81c tpyo 1999-05-17 22:56:13 +00:00
Michael Graff
17a30afad1 another cancel cleanup 1999-05-17 22:54:17 +00:00
Michael Graff
e89cd0396e Fix a cancel problem, and use a condition variable rather than a hack 1999-05-17 22:31:26 +00:00
Andreas Gustafsson
278695c921 fixed apparent cut-and-paste-o in ISC_SOCKCANCEL_ACCEPT handler 1999-05-13 10:46:12 +00:00
Michael Graff
fb3dcb0b60 Use the prototypes from isc/list.h directly, rather than util.h hacks 1999-04-29 04:49:52 +00:00
Michael Graff
e0834816d7 clean up comments 1999-03-30 06:22:28 +00:00
Michael Graff
d4aa1c590e more fixes. 1999-03-30 06:18:45 +00:00
Michael Graff
b73eb944cd Changes talked about at IETF -- code cleanup, result code cleanup, etc 1999-03-29 23:56:06 +00:00
Michael Graff
882350d11c Clean up many compiler warnings. 1999-02-11 06:38:12 +00:00
Michael Graff
491b48ec3f First pass at addrlength grossness cleanup. Man, this is ugly. 1999-02-06 08:48:08 +00:00
Michael Graff
d915cb8961 fix cancel code 1999-01-27 04:17:05 +00:00
Michael Graff
47db0e1d06 checkpoint. udp listener clde split out. 1999-01-20 03:54:54 +00:00
Michael Graff
523b3c81c3 Fix a nasty little UDP-related bug 1999-01-19 06:33:18 +00:00
Michael Graff
62a933c45b Do the include thing differnetly for private headers 1999-01-15 02:51:47 +00:00
Michael Graff
9c4ac30e29 quick fix... Grr. 1999-01-15 02:22:15 +00:00
Bob Halley
2328307a8f use RUNTIME_CHECK instead of INSIST where appropriate 1999-01-06 20:02:52 +00:00
Bob Halley
436db6667a convert ISC_R_TOOSMALL to ISC_R_NOSPACE 1998-12-30 20:18:09 +00:00
Michael Graff
dfd9b3fa62 Make this go on aa 1998-12-18 22:02:41 +00:00
Bob Halley
8dcce6f922 change memctx to mem 1998-12-18 19:14:37 +00:00
Michael Graff
222b564ebb clean up memory leaks 1998-12-18 04:03:11 +00:00
Bob Halley
50f3977f4f nits 1998-12-18 02:28:27 +00:00
Michael Graff
93e065e7a6 snapshot 1998-12-18 01:48:43 +00:00
Bob Halley
0ab04d76c8 conforming changes for task API revision 1998-12-16 02:05:38 +00:00
Bob Halley
3740b569ae the great type change 1998-12-13 23:45:21 +00:00
Bob Halley
a3002fd5a2 convert to util.h 1998-12-13 02:04:22 +00:00
Bob Halley
1633838b82 update copyrights 1998-12-12 20:48:14 +00:00
Bob Halley
d25afd60ee include config.h 1998-12-12 19:25:20 +00:00
Bob Halley
8f8c3d34dd casts to eliminate sendto and memcpy warnings 1998-12-11 20:47:15 +00:00