2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 13:08:06 +00:00

616 Commits

Author SHA1 Message Date
Bob Halley
435532822d deal with systems missing in6addr_any 2000-03-22 22:07:17 +00:00
Bob Halley
0e58c0998d don't catch SIGQUIT 2000-03-18 01:29:48 +00:00
Michael Graff
b206fa17b2 allocate space for cmsg more correctly. Grr. 2000-03-15 20:05:06 +00:00
Michael Graff
788354c051 Currently, descriptors with changes are sent to the watcher via a pipe.
Previously, both ends were set to non-blocking I/O.  Now, only the
reader is set non-blocking.  This means the writer will block for a while
if the pipe fills, but since the watcher is in a different thread from
the reader, the pipe will eventually drain, and the writer can continue.

This is really nothing more than a lock, just not a mutex-type lock.
2000-03-15 19:48:11 +00:00
Michael Graff
ae8d0aedd6 implement pktinfo through dispatcher -> named client 2000-03-14 03:30:52 +00:00
Michael Graff
0205c5a4ad fix case where CMSG_SPACE() is not a macro 2000-03-13 21:09:56 +00:00
David Lawrence
114d0d1642 added isc_time_seconds, isc_time_nanoseconds 2000-03-10 17:49:27 +00:00
Andreas Gustafsson
427c9218c2 isc_socket_connect() leaked memory when connect() returned
EHOSTUNREACH
2000-02-09 19:02:40 +00:00
Bob Halley
a2f3208f7f add DESTDIR support 2000-02-08 21:50:23 +00:00
Andreas Gustafsson
e46ff30aec ignore IPv6 interfaces before attempting to get their flags;
they are ignored by named anyway, and getting their flags seems to fail on
Solaris 8ea (RT #16)
2000-02-07 18:59:39 +00:00
Andreas Gustafsson
461a00bbde ignore any ioctl() errors that may occur during interface
iteration (after reporting them); in particular, do not INSIST() that
no such errors occur.  Clarify the way this works by using the new
ISC_R_IGNORE result code.
2000-02-07 18:39:20 +00:00
Bob Halley
4dafa5b8ed add missing .h files 2000-02-04 01:41:25 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Michael Graff
5726326ccd fix? a socket problem with canceling things, again 2000-02-02 19:00:01 +00:00
David Lawrence
6ad69891ee use ISC_PLATFORM_NETINET6_IN6_H, don't use config.h 2000-02-02 13:26:22 +00:00
Bob Halley
6e1e90b9b6 Undo 1.100 which caused problems on platforms other than Linux. 2000-02-02 02:34:30 +00:00
Andreas Gustafsson
7b24a94d11 typo in comment 2000-02-02 00:41:26 +00:00
Andreas Gustafsson
3d659a692a mkstemp() requires <stdlib.h> on NetBSD 2000-01-31 17:36:02 +00:00
Mark Andrews
b1058f88f9 Add isc_mktemplate and isc_ufile 2000-01-31 07:31:31 +00:00
Bob Halley
2314617d4a Fix problem with canceling connecting sockets.
The manager will no longer try to dispatch internal events for dead sockets,
preventing a situation where the ref count could go from 0 back to 1!
2000-01-28 01:31:21 +00:00
Bob Halley
03dd96d177 allow normal signal handlers for most signals to execute 2000-01-25 03:33:55 +00:00
David Lawrence
8fc824d047 include <config.h>, since the definition of HAVE_NETINET6_IN6_H
is needed in this file.
2000-01-24 05:25:09 +00:00
Bob Halley
b199c609b1 Only set SO_REUSEADDR for TCP sockets. 2000-01-22 02:29:49 +00:00
Bob Halley
97f1a75cf0 reload support 2000-01-22 01:39:35 +00:00
Mark Andrews
094810739f remove extranious break; 2000-01-20 06:35:51 +00:00
Mark Andrews
5e2b6219d2 Add IPv6 support 2000-01-18 05:42:53 +00:00
Mark Andrews
ccb185b942 Add Solaris IPv6 support 2000-01-18 05:42:33 +00:00
Mark Andrews
757a38d502 Set address family. 2000-01-10 06:16:08 +00:00
David Lawrence
73a1e6a5d1 include netinet6/in6.h if present 2000-01-07 02:48:00 +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
David Lawrence
dcf8825fd7 BSD/OS 4.01 returns EPROTONOSUPPORT for failure in try_proto() 2000-01-04 20:15:53 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Michael Graff
f39add73bc Actually commit the ipv6 socket code I wrote last week. 1999-12-15 20:47:38 +00:00
Michael Graff
efff2a52af Make this compile (without ipv6 socket support) on half-done implementations. 1999-12-10 16:51:39 +00:00
Michael Graff
c2b450fa72 don't hide the fact that some ipv6 stacks aren't all there. 1999-12-09 00:19:31 +00:00
Michael Graff
8b7f596003 Use one more returned-event attribute to indicate fatal error, where
retrying on a socket is pointless, as it will immediately fail.
1999-12-08 22:53:08 +00:00
Michael Graff
633c5ee7b9 remove a debugging statement that is no longer useful, and fix an error return 1999-12-06 23:07:05 +00:00
Michael Graff
857f8bd11b Cast to (void *) to shut up compiler warnings re signed/unsigned char *. It
would be so nice if people would define 'msg_control' in a msghdr to be
consistant with other pointers...
1999-12-06 22:33:20 +00:00
James Brister
ce84c593e8 gcc 2.7.2.3 and 2.95.1 both dislike '#warn' but will accept '#warning' cpp
statements.
1999-12-06 12:35:19 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Andreas Gustafsson
79c08618e9 use NULL (not 0) for null pointers; use size_t (not unsigned int) in
sysctl() arguments
1999-11-30 22:13:26 +00:00
Bob Halley
f924db5119 1000 nanoseconds in a microsecond, not 10000 1999-11-04 21:40:49 +00:00
Bob Halley
176323fd5e set msg_namelen to the right size 1999-11-01 22:51:19 +00:00
Bob Halley
431fb211db include unistd.h to get prototype for chdir 1999-10-31 19:29:48 +00:00
Bob Halley
0e1bef59f0 add isc_dir_chdir; change argument order of isc_dir_open 1999-10-31 19:08:17 +00:00
Bob Halley
eb2c85b103 ISC_NET_HAVEIPV6 -> ISC_PLATFORM_HAVEIPV6 1999-10-30 03:53:19 +00:00
Andreas Gustafsson
cdd5e37820 isc_netaddr_t now has a "family" field 1999-10-28 23:09:01 +00:00
Mark Andrews
42c479991f in6addr_any and in6addr_loopback should be "const" 1999-10-25 16:33:13 +00:00