Commit graph

37 commits

Author SHA1 Message Date
Mark Andrews
09e36e1b91 2067. [bug] 'rndc' could close the socket too early triggering
a INSIST under Windows. [RT #16317]
2006-08-04 03:03:08 +00:00
Mark Andrews
6d7df38556 update copyright notice 2006-01-07 00:23:33 +00:00
Mark Andrews
1d28dfe422 1969. [bug] win32: the socket code was freeing the socket
structure too early. [RT #15776]
2006-01-06 01:34:47 +00:00
Mark Andrews
07e39ba609 1920. [bug] Update windows socket code. [RT #14965] 2005-09-01 03:16:12 +00:00
Mark Andrews
7fb85a7790 update copyright notice 2005-06-09 23:54:33 +00:00
Mark Andrews
a9e8873008 1882. [port] win32: isc__errno2result() now reports its caller.
[RT #13753]

1881.   [port]          win32: Handle ERROR_NETNAME_DELETED.  [RT #13753]
2005-06-08 01:04:53 +00:00
Mark Andrews
41b1e05961 fix typo in unexecuted code 2004-09-01 04:32:18 +00:00
Mark Andrews
33496808c3 1681. [bug] Only set SO_REUSEADDR when a port is specified in
isc_socket_bind(). [RT #11742]
2004-06-30 23:34:55 +00:00
Mark Andrews
5770800ff6 1660. [bug] win32: connection_reset_fix() was being called
unconditionally.  [RT #11595]
2004-06-18 01:15:32 +00:00
Mark Andrews
ce7ab2f050 1640. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
incorrectly closing the socket.  [RT #11291]
2004-05-17 03:26:50 +00:00
Mark Andrews
1a36458df2 1627. [bug] win32: sockets were not being closed when the
last external reference was removed. [RT# 11179]
2004-05-04 00:06:10 +00:00
Mark Andrews
cbdd3a318b update lib copyrights 2004-03-06 08:15:48 +00:00
Mark Andrews
d969d55938 1588. [bug] win32: TCP sockets could become blocked. [RT #10115] 2004-03-04 05:57:07 +00:00
Mark Andrews
52c85d05fc 1562. [bug] isc_socket_create() and isc_socket_accept() could
leak memory under error conditions. [RT #10230]
2004-01-26 23:50:40 +00:00
Mark Andrews
12abbb373a double )) 2004-01-08 08:23:52 +00:00
Mark Andrews
2cd5c7fc6c 1553. [bug] The windows socket code could stop accepting
connections.
2004-01-08 05:38:47 +00:00
Mark Andrews
e6660892f8 1536. [bug] Windows socket code failed to log a error description
when returning ISC_R_UNEXPECTED. [RT #9998]
2004-01-05 08:18:07 +00:00
Mark Andrews
388732593d cleanup spaces before semicolons. 2003-09-24 03:47:21 +00:00
Mark Andrews
57b54234cd sizeof style 2003-09-11 00:18:18 +00:00
Mark Andrews
f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews
79e5e7b356 1348. [port] win32: Rewrote code to use I/O Completion Ports
in socket.c and eliminating a host of socket
                        errors. Performance is enhanced.
2003-07-09 04:58:19 +00:00
Mark Andrews
b9294462c0 1476. [port] win32: port unreachables were blocking further i/o
on sockets (Windows 2000 SP2 and later).
2003-06-24 07:26:35 +00:00
Mark Andrews
1b63cb1440 collapse duplicate code 2003-04-13 10:15:03 +00:00
Mark Andrews
69afe00a06 redo:
1459.   [bug]           win32: we were leaking a bits in the exception
                        fd_set resulting in "Socket operation on non-socket"
                        errors from select(). [RT #2966]
2003-04-13 10:11:31 +00:00
Mark Andrews
65bfb99dae 1459. [bug] win32: we were leaking a bits in the exception
fd_set resulting in "Socket operation on non-socket"
                        errors from select(). [RT #2966]
2003-04-13 08:04:36 +00:00
Danny Mayer
ae5b8edf7d Fix the timeout to really use microseconds and not milliseconds that were mistakenly used for the timeval structure. 2002-07-31 03:10:58 +00:00
Mark Andrews
f324e3cfdf reviewed: bwelling
1241.   [bug]           Drop received UDP messsages with a zero source port
                        as these are invariably forged. [RT #2621]
2002-07-10 00:04:57 +00:00
Mark Andrews
e6012d7b37 pullup:
Fixes for error handling that were missing in previous commit.
2002-02-19 00:40:09 +00:00
Mark Andrews
73d7583d98 update copyrights 2002-02-08 03:57:47 +00:00
Mark Andrews
fa85f47357 pullup:
1108.   [bug]           On Win32, rndc was hanging when named was not running
                        due to failure to select for exceptional conditions
                        in select(). [RT #1870]

win32 fixes for:
1081.   [bug]           Multicast queries were incorrectly identified
                        based on the source address, not the destination
                        address.

1066.   [bug]           Provide a thread safe wrapper for strerror().
                        [RT #1689]  (socket.c only)

General cleanup from mainline.
2002-01-25 00:24:58 +00:00
Andreas Gustafsson
7366e9c47d pullup:
1174.   [bug]           Win32: add WSAECONNRESET to the expected errors
                        from connect(). [RT #2308]
2002-01-23 01:07:54 +00:00
Andreas Gustafsson
94c8b1aa0f pullup:
doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745]
2001-09-17 22:28:57 +00:00
Andreas Gustafsson
07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Danny Mayer
14597c218d Fix memory leak [RT 1478] 2001-07-10 06:27:44 +00:00
Andreas Gustafsson
e76d4c91bf coding style 2001-07-09 21:06:30 +00:00
Danny Mayer
68c2ccc953 code style cleanup 2001-07-08 05:09:35 +00:00
Danny Mayer
fd61d0cab1 Initial release of socket code 2001-07-06 05:37:46 +00:00