Commit Graph

3967 Commits

Author SHA1 Message Date
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
Andreas Gustafsson
da41917c3f cleanup and simplification 2000-09-01 19:59:35 +00:00
Andreas Gustafsson
122d284b61 there is no such thing as a for...while loop 2000-09-01 16:39:07 +00:00
Andreas Gustafsson
1b088f4680 reordered some statements for clarity 2000-09-01 16:37:30 +00:00
Michael Graff
ca0db0cdc8 stop mumbling in dispatch.h by filling out the comments. Fixed a bug, since I was here already. 2000-09-01 07:16:06 +00:00
Brian Wellington
88b9c12a3c rdataslabs are now sorted. Also added a function to compare two rdataslabs. 2000-09-01 01:35:21 +00:00
Andreas Gustafsson
4187398298 416. [bug] Slave zones with no master file tried to use a
NULL pointer for a journal file name when they
                        received an IXFR.
2000-08-31 23:56:00 +00:00
Brian Wellington
4b809ba346 415. [bug] The logging code leaked file descriptors. 2000-08-31 20:58:15 +00:00
Andreas Gustafsson
a69cebac84 414. [bug] Server did not shut down until all incoming zone
transfers were finished.
2000-08-31 17:48:47 +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
4a30ede93d add overmem method 2000-08-31 13:04:47 +00:00
Mark Andrews
ce0c777a38 overmem was out of order 2000-08-31 13:00:57 +00:00
Mark Andrews
3a34b87c87 Add cache cleaning support (disabled). 2000-08-31 12:15:17 +00:00
Mark Andrews
a21fbfdd30 413. [bug] notify could attempt to use the zone database after
it had been unloaded. (RT#267)
2000-08-31 06:16:42 +00:00
Mark Andrews
5ebcf506a1 remove unneccessary call to notify_createmessage() 2000-08-31 00:31:38 +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
5ae91ef876 #include <stddef.h> 2000-08-30 01:24:20 +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
352cb92ac2 DNS_KEYALG_MD5RSA -> DNS_KEYALG_RSAMD5 2000-08-29 19:45:33 +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
Mark Andrews
5afa531442 Alphabetize #include <dns/???>. 2000-08-29 03:48:00 +00:00
Mark Andrews
f3788d318d Do not forward notifies if they fail to pass the SOA serial check. 2000-08-29 03:45:48 +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
698de4d4c0 The alphabetically sorted DSTOBJS weren't. 2000-08-28 23:04:51 +00:00
Brian Wellington
9e21cef0b2 The alphabetically sorted OBJS and SRCS weren't. 2000-08-28 22:54:39 +00:00
Brian Wellington
762b1edceb DESTROYLOCK does not need a do { } while (0) construct. 2000-08-28 19:49:38 +00:00
Brian Wellington
37a8fbab3a 411. [bug] A typo in the HS A code caused an assertion failure. 2000-08-28 17:39:21 +00:00
Mark Andrews
42aea0fbdc options { notify-forward yes; }; is not longer hardwired as "no;". 2000-08-28 05:51:16 +00:00
Michael Graff
306a935305 add find->result_v[46] 2000-08-26 02:21:45 +00:00
Brian Wellington
c383551293 #include <isc/mutex.h> 2000-08-26 01:56:46 +00:00
Andreas Gustafsson
a38f86ea5b 410. [bug] lwres_gethostbyname() and company set lwres_h_errno
to a random value on success.
2000-08-26 01:51:05 +00:00
Brian Wellington
fa9a407180 Last set of DESTROYLOCK changes 2000-08-26 01:42:34 +00:00
Brian Wellington
5e387b9ce6 and more calls to DESTROYLOCK 2000-08-26 01:37:00 +00:00
Brian Wellington
a44038277a MOre calls to DESTROYLOCK 2000-08-26 01:31:56 +00:00