Michael Graff
fd8302422b
Fix a socket leak I created.
2005-12-07 04:21:27 +00:00
Michael Graff
03aa32f0ab
Remove some code that may make tests fail, although it's unlikely...
2005-12-07 03:55:06 +00:00
Michael Graff
36ca9f636b
Don't close the file descriptor for fdwatch socket shutdowns. Let the application do this, since it is passed in, and it may have other uses or shutdown to do on it first.
2005-12-06 18:11:54 +00:00
Michael Graff
e6c3041c28
add file descriptor watching functions, Unix only.
2005-12-06 16:54:49 +00:00
Mark Andrews
2674e1a455
1940. [bug] Fixed a number of error conditions reported by
...
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews
c481327e75
silence compiler warnings [RT #15562 ]
2005-11-03 22:59:53 +00:00
Mark Andrews
b3d1e3a945
silence compiler warning
2005-10-17 03:47:10 +00:00
Mark Andrews
fd894f8cb4
silence compiler warnings
2005-08-25 03:26:54 +00:00
Mark Andrews
18d0b5e54b
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
...
of memory. [RT #14995 ]
2005-07-12 01:00:20 +00:00
Mark Andrews
0563d476de
1899. [func] Raise the UDP recieve buffer size to 32k if it is
...
less than 32k. [RT #14953 ]
2005-07-12 00:41:55 +00:00
Mark Andrews
b2f160f266
1898. [port] sunos: non blocking i/o support. [RT #14951 ]
2005-07-08 04:30:22 +00:00
Mark Andrews
d73541ea2e
1845. [bug] Improve error reporting to distingish between
...
accept()/fcntl() and socket()/fcntl() errors.
[RT #13745 ]
2005-05-19 02:42:42 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
2132a56b5c
1841. [port] cmsg_len() could produce incorrect results on
...
some platform. [RT #13744 ]
2005-03-30 05:37:08 +00:00
Mark Andrews
15683369e0
namespace sun -> sunix
2005-03-16 23:39:06 +00:00
Mark Andrews
8cd830d7c8
1802. [bug] Handle connection resets better. [RT #11280 ]
2005-03-15 01:41:28 +00:00
Mark Andrews
c2a5a4a3cf
update copyright notice
2005-02-24 00:33:35 +00:00
Mark Andrews
4423c99613
1814. [func] UNIX domain controls are now supported.
2005-02-23 01:09:23 +00:00
Mark Andrews
fcdef14f4a
1767. [port] Builds on IPv6 platforms without IPv6 Advanced API
...
support for (struct in6_pktinfo) failed. [RT #13077 ]
2004-11-18 21:31:47 +00:00
Mark Andrews
43fe2897fc
1731. [port] darwin: relax version test in ifconfig.sh.
...
[RT #12581 ]
1730. [port] Determine the length type used by the socket API.
[RT #12581 ]
2004-10-05 03:17:18 +00:00
Mark Andrews
ae507663cf
indenting
2004-07-01 04:53:14 +00:00
Mark Andrews
9aa7706900
1681. [bug] Only set SO_REUSEADDR when a port is specified in
...
isc_socket_bind(). [RT #11742 ]
2004-06-30 23:35:17 +00:00
Mark Andrews
b21b49a1d4
1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
...
it is defined.
2004-04-19 02:54:15 +00:00
Mark Andrews
42b48d11ca
hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR.
2004-04-15 01:58:25 +00:00
Mark Andrews
1676408640
pullup silence compiler fixes
...
ifconfig.sh for Solaris 9
README updates
2004-03-18 02:58:08 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
daa73eae70
silence punned messages
2004-02-03 00:59:05 +00:00
Mark Andrews
774c3a62d9
1566. [port] Support for the cmsg framework on Solaris and HP/UX.
...
This also solved the problem that match-destinations
for IPv6 addresses did not work on these systems.
[RT #10221 ]
2004-01-29 04:39:19 +00:00
Mark Andrews
96c973a6a9
1562. [bug] isc_socket_create() and isc_socket_accept() could
...
leak memory under error conditions. [RT #10230 ]
2004-01-26 23:33:32 +00:00
Mark Andrews
5eb91bd90e
silence compiler warnings (HPUX/11i)
2003-07-25 00:01:16 +00:00
Mark Andrews
602d2e93f7
close of wrong socket [RT #5221 ]
2003-03-03 01:41:27 +00:00
Mark Andrews
463fc8f9d6
1437. [bug] Leave space for stdio to work in. [RT #5033 ]
...
developer: marka
reviewer: explorer
2003-02-26 04:00:20 +00:00
Mark Andrews
7418c7cc78
silence compiler
2003-02-18 06:07:40 +00:00
Mark Andrews
33c5380153
1334. [port] Handle ECONNRESET from sendmsg() [unix].
2002-06-26 00:12:54 +00:00
Mark Andrews
0a1fa37641
1217. [port] linux: make handling EINVAL from socket() no longer
...
conditional on #ifdef LINUX.
2002-06-03 06:31:16 +00:00
Mark Andrews
a1edcd1b8d
1203. [func] Use "dataready" accept filter if available.
2002-05-27 00:40:23 +00:00
Mark Andrews
c311ed52d4
1247. [bug] Don't reset the interface index for link/site local
...
addresses. [RT #2576 ]
2002-04-03 06:44:11 +00:00
Mark Andrews
5d26560e2b
1245. [bug] Treat ENOBUFS, ENOMEM and ENFILE as soft errors for
...
accept().
HPUX 11.11 returns ENOBUFS when the TCP connecting is closed before accept.
ENOMEM and ENFILE were also recommend by HP to be treated as soft for accept().
2002-04-03 05:41:20 +00:00
Mark Andrews
091b098b49
1241. [bug] Drop received UDP messsages with a zero source port
...
as these are invariably forged. [RT #2621 ]
2002-04-02 04:36:52 +00:00
Mark Andrews
1e258716ac
1231. [port] HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL.
2002-03-15 04:59:03 +00:00
Mark Andrews
a7038d1a05
copyrights
2002-02-20 03:35:59 +00:00
Mark Andrews
852fa3b2e3
1183. [bug] Handle ENOSR error when writing to the internal
...
control pipe. [RT #2395 ]
2002-01-22 02:38:34 +00:00
Mark Andrews
df1415d1e8
Out of date comment.
2001-12-19 05:51:34 +00:00
Mark Andrews
82107a8889
reference after free in error path.
2001-12-19 05:44:54 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews
0cfa2fb26d
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
...
supported by the OS by a new function
isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
Mark Andrews
f498427f17
theoretically potential file descriptor leak.
2001-11-09 00:37:10 +00:00
Andreas Gustafsson
ea01b618d9
1114. [port] Ignore more accept() errors. [RT #2021 ]
2001-11-08 20:24:25 +00:00