Mark Andrews
|
7523838d84
|
make error message more informative.
|
2000-08-31 13:38:55 +00:00 |
|
Brian Wellington
|
5a842a6fc3
|
The non-threaded version does a better job avoiding starvation.
|
2000-08-30 23:47:16 +00:00 |
|
Brian Wellington
|
aa3f41bafc
|
signals were broken in the non-threaded version
|
2000-08-30 01:43:59 +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
|
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
|
a44038277a
|
MOre calls to DESTROYLOCK
|
2000-08-26 01:31:56 +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 |
|
Mark Andrews
|
44215b932d
|
392. [func] Add ISC_R_FAMILYNOSUPPORT. Returned when OS does
not support the given address family requested.
391. [clarity] ISC_R_FAMILY -> ISC_R_FAMILYMISMATCH.
|
2000-08-15 01:43:38 +00:00 |
|
Andreas Gustafsson
|
a3e7b6450e
|
style
|
2000-08-10 23:42:17 +00:00 |
|
Brian Wellington
|
5e989d1777
|
If isc_socket_bind tries to bind to a socket with a different address
family than the address specified, return a meaningful error.
|
2000-08-10 23:11:12 +00:00 |
|
Brian Wellington
|
3d37f10b91
|
On send, treat EPERM like ISC_R_HOSTUNREACH. send() seems to return EPERM
on Linux when firewall rules block the send.
|
2000-08-10 21:47:46 +00:00 |
|
Brian Wellington
|
cd7ffa4c12
|
381. [bug] Check for IPV6_RECVPKTINFO and use it instead of
IPV6_PKTINFO if found. [RT #229]
|
2000-08-10 00:05:45 +00:00 |
|
David Lawrence
|
450e48205f
|
Ensure argument to isdigit() is within valid range by "&"ing with 0xff.
|
2000-08-03 13:44:02 +00:00 |
|
David Lawrence
|
e15ecf08f2
|
use ISC_TF() to set an isc_boolean_t return value
|
2000-08-02 15:28:13 +00:00 |
|
David Lawrence
|
40f53fa8d9
|
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
|
2000-08-01 01:33:37 +00:00 |
|
Brian Wellington
|
153d59973f
|
Allow keyboard operations to be interrupted by the interrupt or quit
character.
|
2000-07-31 20:36:08 +00:00 |
|
David Lawrence
|
15a4474541
|
word wrap copyright notice at column 70
|
2000-07-27 09:55:03 +00:00 |
|
David Lawrence
|
febf5f8b55
|
355. [func] Added isc_dir_createunique(), similar to mkdtemp().
|
2000-07-27 02:04:36 +00:00 |
|
Brian Wellington
|
da892e9733
|
Typo in comment - isc_time_microdiff returns microseconds, not milliseconds.
|
2000-07-14 16:59:32 +00:00 |
|
Andreas Gustafsson
|
0072e42780
|
use isc_log_wouldlog() in manager_log()
|
2000-07-13 01:38:40 +00:00 |
|
Brian Wellington
|
2935e25e99
|
Removed debugging code that is no longer useful.
|
2000-07-13 01:22:56 +00:00 |
|
Brian Wellington
|
febc974d0f
|
Use isc_log_wouldlog() to avoid calling strerror() whenever possible.
|
2000-07-13 01:13:53 +00:00 |
|
Andreas Gustafsson
|
211ac47e07
|
use isc_log_wouldlog() to avoid unnecessary formatting work
when the debug level does not warrant logging
|
2000-07-13 00:25:38 +00:00 |
|
Brian Wellington
|
a6f31a3fd0
|
Only install default handlers for SIGTERM and SIGWAIT if we haven't installed
other handlers already.
|
2000-07-12 01:46:57 +00:00 |
|
Brian Wellington
|
838f13fbdc
|
Set default signal handlers for SIGINT and SIGTERM (SIGHUP already had one).
This doesn't appear to have an effect on any platform, but it seems like a
good idea.
|
2000-07-11 19:18:05 +00:00 |
|
Michael Graff
|
401bea7527
|
set connected and bound when the connect completes
|
2000-07-10 19:40:06 +00:00 |
|
David Lawrence
|
641689bff4
|
note in the comment that isc_time_microdiff returns 0 if t1 < t2.
no need to pull up.
|
2000-06-30 22:40:32 +00:00 |
|
Michael Graff
|
2e0e781ba4
|
use the correct function name in debugging statements
|
2000-06-29 07:40:58 +00:00 |
|
Andreas Gustafsson
|
33e482fa3e
|
edited comment, no functional change
|
2000-06-27 21:04:12 +00:00 |
|
Michael Sawyer
|
d8afbf2f30
|
Force SIGHUP to be in state SIG_DFL when starting, since Solaris would break
that, if run from under cron.
|
2000-06-27 18:49:14 +00:00 |
|
Andreas Gustafsson
|
a7d4703552
|
commented
|
2000-06-26 22:59:22 +00:00 |
|
David Lawrence
|
2298aec5a1
|
test for high bit being set in isc_file_settime needed to use an
unsigned long long constant to work correctly on platforms that have
a 64 bit timeval.tv_sec and 32 bit ints.
|
2000-06-26 21:33:57 +00:00 |
|
Michael Graff
|
a72ca8608c
|
revert part of a previous commit. This makes net/host unreachable hard errors again.
|
2000-06-26 20:16:01 +00:00 |
|
Brian Wellington
|
0191211ce5
|
Casting void * to unsigned long works better than casting to isc_uint32_t
|
2000-06-26 18:41:06 +00:00 |
|
Michael Graff
|
53b63f5467
|
minor change to make certain 'on' is defined. This used to be used only by USE_CMSG, but is also used to turn on BSD compatibility, so test on SO_BSDCOMPAT too.
|
2000-06-26 18:20:25 +00:00 |
|
Michael Graff
|
18a8c21c77
|
turn on BSD compatibility to avoid the annoying linux 'return host unreachable for unconnected UDP datagrams' bug.
|
2000-06-26 17:48:26 +00:00 |
|
David Lawrence
|
24de6390c1
|
"entropy.c", line 1319: remark(1552): variable "ent" was set but never used
|
2000-06-23 22:06:47 +00:00 |
|
David Lawrence
|
438d4a305d
|
include order lint
|
2000-06-23 21:43:46 +00:00 |
|
Michael Graff
|
79f9369c4f
|
gc DOIO_UNEXPECTED as it was never used
|
2000-06-23 19:58:38 +00:00 |
|
David Lawrence
|
544f8fd0be
|
protect sys/types.h from check-includes.pl removal recommendation
|
2000-06-23 03:08:18 +00:00 |
|
David Lawrence
|
b654509b18
|
protect limits.h from check-includes.pl removal recommendation
|
2000-06-23 03:07:45 +00:00 |
|
David Lawrence
|
ec32c6b366
|
use isc/lang.h and add protective UNIX_ERRNO2RESULT_H wrapper
|
2000-06-23 03:03:57 +00:00 |
|
Michael Graff
|
0087d83906
|
thinko. Check for necessary entropy content correctly.
|
2000-06-23 02:31:10 +00:00 |
|
David Lawrence
|
9c3531d72a
|
add RCS id string
|
2000-06-22 22:00:42 +00:00 |
|
Brian Wellington
|
aed3b8cb4e
|
cfmakeraw() is not posix
|
2000-06-22 20:50:55 +00:00 |
|
David Lawrence
|
038b0bd35c
|
return the number of ncpus, instead of whatever random crap is on the stack
|
2000-06-22 02:23:39 +00:00 |
|
Brian Wellington
|
386a52a5ea
|
Add isc/unix/os.c, which has isc_os_ncpus()
|
2000-06-22 01:06:35 +00:00 |
|