Brian Wellington
f3f22040a8
The ipv6 probe fails if IPv6 is disabled.
2000-09-15 20:52:27 +00:00
Bob Halley
3302ed8d6e
bitstring assertion addition; doc fixes
2000-09-13 00:11:45 +00:00
Andreas Gustafsson
a9d3c26ed0
some CPP macros were not fully parenthesized
2000-09-12 23:27:44 +00:00
Bob Halley
83d2840b6f
fix erroneous isc_bitstring_copy() REQUIRE
2000-09-12 19:26:40 +00:00
Brian Wellington
0fded1c8b7
remove warnings.
2000-09-12 13:46:12 +00:00
Andreas Gustafsson
b7e031d517
435. [bug] dns_zone_dump() overwrote existing zone files
...
rather than writing to a temporary file and
renaming. This could lead to empty or partial
zone files being left around in certain error
conditions involving the initial transfer of a
slave zone, interfering with subsequent server
startup. [RT #282 ]
2000-09-08 21:47:03 +00:00
Andreas Gustafsson
e881887f18
commented
2000-09-08 21:25:21 +00:00
Andreas Gustafsson
7ec4367f3d
434. [func] New function isc_file_isabsolute().
2000-09-08 18:37:28 +00:00
Andreas Gustafsson
2c9c7c5bb5
433. [func] isc_base64_decodestring() now accepts newlines
...
within the base64 data. This makes it possible
to break up the key data in a trusted-keys
statement into multiple lines. [RT #284 ]
2000-09-08 00:34:21 +00:00
Michael Graff
95236b0363
make the returned value sane in all cases
2000-09-08 00:06:39 +00:00
Michael Graff
1deaf52c98
kill persistent errors. Always retry the I/O now.
2000-09-07 01:59:57 +00:00
Michael Graff
e558faa60b
make unreachable errors on unconnected UDP sockets be soft errors, rather than hard ones.
2000-09-06 22:55:33 +00:00
Andreas Gustafsson
3bd723c53a
clarified comment
2000-09-06 16:25:35 +00:00
Michael Graff
7da0286b54
get rid of isc_random_t -- use a wrapper around rand() instead that doesn't do as much work. Also, implement isc_random_jitter(), used to generate a value between a min, max, with a provided jitter value.
2000-09-06 02:40:00 +00:00
Mark Andrews
6c6bed90cb
Add comments describing isc_mem_putanddetach().
2000-09-05 22:20:36 +00:00
Mark Andrews
1162a4e02a
New function isc_mem_putanddetach().
2000-09-05 03:30:19 +00:00
Brian Wellington
1b32bc7da1
417. [func] Add isc_app_block() and isc_app_unblock(), which
...
allow an application to handle signals while
blocking.
2000-09-01 21:31:54 +00:00
Brian Wellington
4b809ba346
415. [bug] The logging code leaked file descriptors.
2000-08-31 20:58:15 +00:00
Andreas Gustafsson
04cec6dc5b
comment style
2000-08-31 17:10:58 +00:00
Andreas Gustafsson
50a3152b70
clarified comment
2000-08-31 16:58:28 +00:00
Mark Andrews
7523838d84
make error message more informative.
2000-08-31 13:38:55 +00:00
Mark Andrews
3a34b87c87
Add cache cleaning support (disabled).
2000-08-31 12:15:17 +00:00
Brian Wellington
5a842a6fc3
The non-threaded version does a better job avoiding starvation.
2000-08-30 23:47:16 +00:00
Mark Andrews
68e32e13a5
#include <isc/platform.h>
2000-08-30 21:24:57 +00:00
Brian Wellington
aa3f41bafc
signals were broken in the non-threaded version
2000-08-30 01:43:59 +00:00
Brian Wellington
743add946b
Comment out calls to flockfile() and funlockfile(), since it's not
...
evident that they're needed, and they don't work on all platforms without
threads.
2000-08-30 01:28:10 +00:00
Brian Wellington
5aa95f94c9
don't need <pthread.h> or <isc/platform.h>
2000-08-30 01:11:37 +00:00
Brian Wellington
ae8b7e02a8
Non threaded isc_app_* - basically an event loop that calls into the
...
task, timer, and socket modules.
2000-08-30 00:58:28 +00:00
Brian Wellington
efafe4fa7f
Non-threaded socket manager.
2000-08-29 23:58:17 +00:00
Brian Wellington
8dd5562555
#include <isc/platform.h>
2000-08-29 22:55:57 +00:00
Brian Wellington
0c4887513b
add copyright
2000-08-29 22:53:59 +00:00
Brian Wellington
3be0a4382d
ALlow the task manager to run without threads. This doesn't handle fairness
...
too well.
2000-08-29 22:30:14 +00:00
Brian Wellington
8ec174ad4e
Allow the timer code to run without threads.
2000-08-29 21:30:03 +00:00
Brian Wellington
5e872705df
condition.c needs to be added
2000-08-29 19:22:34 +00:00
Brian Wellington
fafb62400d
When --disable-threads is passed, use "nothreads" instead of "pthreads" in
...
the build process.
2000-08-29 18:24:01 +00:00
Brian Wellington
f05941692e
Add an empty lib/isc/nothreads/condition.c, since it greatly simplifies
...
the build process.
2000-08-29 18:19:29 +00:00
Brian Wellington
3c7f352550
single-threaded versions.
2000-08-29 00:33:36 +00:00
Brian Wellington
9ce781741a
don't use DESTROYLOCK, since isc_mutexblock_destroy actually returns
...
failure if isc_mutex_destroy fails.
2000-08-29 00:25:23 +00:00
Andreas Gustafsson
892abf3178
added configure option --enable-threads/--disable-threads,
...
define ISC_PLATFORM_USETHREADS
2000-08-28 23:51:21 +00:00
Brian Wellington
bc40028504
Added the "nothreads" directory in lib/isc. These will be used in the
...
non-threaded libisc.
2000-08-28 23:16:50 +00:00
Brian Wellington
762b1edceb
DESTROYLOCK does not need a do { } while (0) construct.
2000-08-28 19:49:38 +00:00
Brian Wellington
fa9a407180
Last set of DESTROYLOCK changes
2000-08-26 01:42:34 +00:00
Brian Wellington
a44038277a
MOre calls to DESTROYLOCK
2000-08-26 01:31:56 +00:00
Brian Wellington
6714319d0f
Add a DESTROYLOCK macro to wrap isc_mutex_destroy()
2000-08-26 01:23:17 +00:00
Brian Wellington
bba01d378b
Since the result of isc_mutex_destroy() is being ignored, cast it to void.
2000-08-26 01:10:54 +00:00
Brian Wellington
569c05295c
removed a chunk of dead debugging code.
2000-08-25 22:07:52 +00:00
Brian Wellington
960d37edc3
Setting event->ev_sender to a bogus non-null value is no longer necessary.
2000-08-25 18:58:35 +00:00
Brian Wellington
f5ad7569cb
#include <stddef.h>
2000-08-24 23:26:13 +00:00
Brian Wellington
d07ef64ed1
#include <time.h>
2000-08-24 23:22:40 +00:00
Brian Wellington
3cab47dbea
A read lock could incorrectly be granted in some cases.
2000-08-24 19:06:38 +00:00