Andreas Gustafsson
e64a3da280
eliminated compiler warning
2001-06-28 00:44:45 +00:00
David Lawrence
6ee2fdcc82
include isc/ipv6.h before ensuring the ipv6 init macros are defined
2001-06-26 21:55:52 +00:00
Andreas Gustafsson
fda7eb4967
pullup:
...
910. [port] Some pre-RFC2133 IPv6 implementations do not define
IN6ADDR_ANY_INIT. [RT #1416 ]
2001-06-25 22:17:02 +00:00
Andreas Gustafsson
786ca5121b
pullup:
...
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-06-14 13:37:47 +00:00
Andreas Gustafsson
a8426e6e68
pullup:
...
704. [port] RLIMIT_NOFILE in to available on all platforms.
[RT #695 ]
2001-06-09 00:58:11 +00:00
Andreas Gustafsson
732cd0061c
pullup:
...
705. [port] Work out resource limit type for use where rlim_t is
not available. [RT #695 ]
2001-06-09 00:53:22 +00:00
Brian Wellington
a42f9811d9
potential null pointer dereference
2001-05-29 22:35:37 +00:00
Brian Wellington
d40a516458
pullup:
...
isc_print_vsnprintf() could throw an assertion failure when
given a %lld format, causing a deadlock when logging the assertion if invoked
from the logging system. Since the %qd format does not have the bug, this only
affects platforms where the native quad format is %lld and that lack a native
vsnprintf(). The only known such platform is SunOS 5.5.1. [RT #1312 ]
2001-05-21 21:31:39 +00:00
Andreas Gustafsson
ac885ff502
pullup:
...
add sys/types.h for FreeBSD 2.1
2001-05-18 16:35:57 +00:00
Andreas Gustafsson
7bfe48388b
pullup:
...
815. [bug] If a log file was specified with a path separator
character (i.e. "/") in its name and the directory
did not exist, the log file's name was treated as
though it were the directory name. [RT #1189 ]
2001-04-28 01:16:26 +00:00
Andreas Gustafsson
4c40c6496d
814. [bug] Socket objects left over from accept() failures
...
were incorrectly destroyed, causing corruption
of socket manager data structures.
813. [bug] File descriptors exceeding FD_SETSIZE were handled
badly. [RT #1192 ]
2001-04-27 21:59:33 +00:00
Andreas Gustafsson
af65c754d5
pullup:
...
The bug fix in socket.c 1.189 was less than ideal: if a socket
got wedged in a state where accept() always returns EBADF, the server would loop calling
internal_accept() repeatedly. Implemented an alternative fix where a hard
error in accept() causes an event with a nonzero result code to be sent, and
the new socket object to be freed
(pullup reviewed by bwelling)
2001-04-11 17:34:47 +00:00
Andreas Gustafsson
1d229976a5
pullup:
...
804. [bug] Attempting to obtain entropy could fail in some
situations. This would be most common on systems
2001-04-10 00:24:47 +00:00
Brian Wellington
b0d37697d1
#include <stdlib.h>
...
(already fixed on mainline)
2001-03-27 01:37:06 +00:00
Andreas Gustafsson
8f84fa97d8
pullup:
...
784. [bug] nsupdate and other programs would not quit properly
if some signals were blocked by the caller. [RT #1081 ]
2001-03-21 00:26:27 +00:00
Brian Wellington
a9cdc783f2
removed extraneous %s (already fixed on mainline)
2001-03-14 18:06:02 +00:00
Brian Wellington
76ce1f8d30
exit(1), not exit(-1)
2001-03-14 06:32:15 +00:00
Brian Wellington
ff0d212c53
pullup:
...
If the app is blocked and a shutdown signal arrives, just exit().
2001-03-14 01:24:53 +00:00
Brian Wellington
c12c71271f
missing space
2001-03-01 22:40:44 +00:00
Brian Wellington
615b76151b
pullup:
...
754. [bug] Certain failure returns from sendto() could
cause the server to retry the transmission
indefinitely. [RT #902 ]
2001-02-25 00:33:43 +00:00
Andreas Gustafsson
17086fb722
pullup:
...
648. [port] Add support for pre-RFC2133 IPv6 implementations.
2001-02-21 00:16:10 +00:00
Andreas Gustafsson
8936ed3afd
rephrase
2001-02-20 22:03:15 +00:00
Andreas Gustafsson
8682785a17
no need to specifically ask people to mail bind9-bugs about mempool leaks
2001-02-20 22:02:02 +00:00
Andreas Gustafsson
d56efce69e
pullup:
...
737. [port] stdtime.c failed to compile on certain platforms.
2001-02-14 23:01:07 +00:00
Andreas Gustafsson
84e6ea2713
pullup:
...
Give more information when isc_mempool_destroy() dies with an assertion
failure, in the hope that we'll be able to fix the bug one day.
2001-02-13 20:43:44 +00:00
Andreas Gustafsson
a3d0d44b14
install refcount.h
2001-02-12 23:11:27 +00:00
Andreas Gustafsson
2d4608f817
pullup: added missing copyright message; ISC_REFERENCE_H -> ISC_REFCOUNT_H
2001-02-09 00:27:50 +00:00
Andreas Gustafsson
45b14c489d
pullup:
...
#include <isc/mutex.h>
2001-02-09 00:22:37 +00:00
Andreas Gustafsson
31b349d025
pullup:
...
729. [port] pthread_setconcurrency() needs to be called on Solaris.
2001-02-07 22:36:20 +00:00
Brian Wellington
470a973e50
pullup:
...
727. [port] Work around OS bug where accept() succeeds but
fails to fill in the peer address of the accepted
connection, by treating it as an error rather than
an assertion failure. [RT #809 ]
2001-02-07 20:21:46 +00:00
Andreas Gustafsson
3e4ebe51ad
pullup:
...
The ISC__BUFFER_INIT macro had a typo.
2001-02-07 02:32:16 +00:00
Andreas Gustafsson
3fec0be47f
pullup:
...
INSIST that accept() returns a socket of the correct protocol family. Also
assign the "pf" field in the new socket.
2001-02-06 18:10:28 +00:00
Andreas Gustafsson
b86ea45de3
When memsetting the entropy pool to 0, the count should be the size in bytes,
...
not words.
2001-02-05 23:31:05 +00:00
cvs2git
44e2022878
This commit was manufactured by cvs2git to create branch 'v9_1'.
2001-01-30 02:50:53 +00:00
Brian Wellington
63ca494e7e
Added the isc_refcount_t type, which is a generic locked reference counter,
...
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock. In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Mark Andrews
fd50497bbe
isc_dir_chroot()
2001-01-29 03:17:45 +00:00
Brian Wellington
6f9786fdcf
Consolidate duplicated code in isc_socket_sendto[v] and isc_socket_recv[v].
2001-01-27 06:41:36 +00:00
Brian Wellington
3a66efb0cb
remove the completely unused timer->mctx field.
2001-01-27 02:44:07 +00:00
Brian Wellington
562f162981
remove unused labels
2001-01-27 01:16:09 +00:00
Brian Wellington
dd66e6306b
Remove isc_socket/[send|recv]mark, which were never used.
2001-01-26 23:17:26 +00:00
Damien Neil
dfb0717d75
- Receive and send operations on UDP sockets no longer need to acquire
...
the socket lock. (Assuming the operation succeeds immediately, and doesn't
need to be queued.)
- Communications with the watcher thread tweaked to reduce the need for
locking.
2001-01-25 22:25:10 +00:00
Andreas Gustafsson
f4ad59d79c
pullup:
...
711. [bug] The libisc and liblwres implementations of
inet_ntop contained an off by one error.
2001-01-25 20:13:38 +00:00
Andreas Gustafsson
b586eb4408
revert half of 711. - there was no off by one error in the v6 case,
...
only in the v4 case
2001-01-25 20:10:02 +00:00
Brian Wellington
1ac2c28488
711. [bug] The libisc and liblwres implementations of
...
inet_ntop contained an off by one error.
2001-01-25 19:39:48 +00:00
Damien Neil
3c31899857
Fix warning in the overrun detection code.
2001-01-25 01:38:01 +00:00
Damien Neil
823eed5ea9
Made the internal malloc() optional, selected by the
...
ISC_MEM_USE_INTERNAL_MALLOC preprocessor constant.
2001-01-25 01:18:00 +00:00
Brian Wellington
f6478f5e44
formatting & macro updates
2001-01-24 21:12:48 +00:00
Brian Wellington
1e3bc7eaeb
only use data from accept() if accept succeeds.
2001-01-23 21:07:12 +00:00
Andreas Gustafsson
b346ae570d
style
2001-01-23 20:45:31 +00:00
Brian Wellington
e90441d922
INSIST that accept() returns a socket of the correct protocol family. Also
...
assign the "pf" field in the new socket.
2001-01-23 20:42:46 +00:00