2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-25 03:27:18 +00:00

132 Commits

Author SHA1 Message Date
Mark Andrews
be00eb0795 1640. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
incorrectly closing the socket.  [RT #11291]
2004-05-17 03:15:59 +00:00
Mark Andrews
578f588228 1627. [bug] win32: sockets were not being closed when the
last external reference was removed. [RT# 11179]
2004-05-03 23:54:38 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
1285fa26e6 1588. [bug] win32: TCP sockets could become blocked. [RT #10115] 2004-03-04 05:54:29 +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
bece90bfd7 double )) 2004-01-08 08:23:11 +00:00
Mark Andrews
c3f9bda20f 1553. [bug] The windows socket code could stop accepting
connections.
2004-01-08 05:35:53 +00:00
Mark Andrews
5e41884b4a 1536. [bug] Windows socket code failed to log a error description
when returning ISC_R_UNEXPECTED. [RT #9998]
2004-01-05 08:14:56 +00:00
Mark Andrews
a2b8bb8777 remove extraneous spaces before semicolons 2003-10-03 06:12:34 +00:00
Mark Andrews
cc083bb703 sizeof style 2003-09-11 01:49:18 +00:00
Mark Andrews
dbd34ac1d0 remove potential file descriptor leak 2003-07-09 03:28:44 +00:00
Danny Mayer
8c17b6f1e4 Updated code to support more than 63 accepts and connects by adding capability to add more event_wait threads on demand 2002-08-06 03:32:53 +00:00
Danny Mayer
5da7016a6c Message header is per I/O and not per socket. Changes made to make them per I/O. 2002-08-02 03:45:56 +00:00
Danny Mayer
4d9aec9c8c Redesigned sockets to use I/O Completion Ports and Events and eliminating multiple socket bugs reported 2002-08-01 03:46:21 +00:00
Mark Andrews
a1edcd1b8d 1203. [func] Use "dataready" accept filter if available. 2002-05-27 00:40:23 +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
Danny Mayer
e2759ff73a Fixes for error handling that were missing in previous commit 2002-02-18 22:20:13 +00:00
Danny Mayer
efd263562b Removed C++ "//" comment lines 2002-01-24 23:43:28 +00:00
Danny Mayer
d7979cbb6c Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage. 2002-01-24 23:19:35 +00:00
Mark Andrews
d073663cb4 1174. [bug] Win32: add WSAECONNRESET to the expected errors
from connect(). [RT #2308]
2002-01-10 03:50:13 +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
Andreas Gustafsson
36d8518388 indentation 2001-11-15 19:06:04 +00:00
Danny Mayer
afce5ee1c8 On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear 2001-11-08 03:29:05 +00:00
Danny Mayer
e209942448 Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870] 2001-11-07 04:24:38 +00:00
Danny Mayer
8423b244ec 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-16 06:19:22 +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