]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1638. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
authorMark Andrews <marka@isc.org>
Mon, 17 May 2004 03:02:23 +0000 (03:02 +0000)
committerMark Andrews <marka@isc.org>
Mon, 17 May 2004 03:02:23 +0000 (03:02 +0000)
                        incorrectly closing the socket.  [RT #11291]

CHANGES
lib/isc/win32/socket.c

diff --git a/CHANGES b/CHANGES
index 40314bbfb532cdf786a82512bf6f0234a3f2817f..a3d4ac93e90c510ff4f1508f9583e1aa8531d78d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1638.  [bug]           win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
+                       incorrectly closing the socket.  [RT #11291]
+
 1633.  [bug]           named should return NOTIMP to update requests to a
                        slaves without a allow-update-forwarding acl specified.
                        [RT #11331]
index 4f6513b5de9339248bcd4519e58f93363f930062..773f6274db70707f5ee6a212c2b528d6e32ef89a 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: socket.c,v 1.5.2.20 2004/05/04 00:14:47 marka Exp $ */
+/* $Id: socket.c,v 1.5.2.21 2004/05/17 03:02:23 marka Exp $ */
 
 /* This code has been rewritten to take advantage of Windows Sockets
  * I/O Completion Ports and Events. I/O Completion Ports is ONLY
@@ -3656,7 +3656,6 @@ isc_socket_cancel(isc_socket_t *sock, isc_task_t *task, unsigned int how) {
                isc_socket_newconnev_t *next;
                isc_task_t             *current_task;
 
-               socket_event_delete(sock);
                dev = ISC_LIST_HEAD(sock->accept_list);
 
                while (dev != NULL) {