From f9e00d0112a976a95c1dfed913879ca212b65c04 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 4 Jan 2000 22:05:31 +0000 Subject: [PATCH] shutdown cancelled accept on wrong socket --- bin/named/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/named/client.c b/bin/named/client.c index 4faf8531db..2deb766e02 100644 --- a/bin/named/client.c +++ b/bin/named/client.c @@ -109,7 +109,7 @@ maybe_free(ns_client_t *client) { REQUIRE(client->shuttingdown == ISC_TRUE); if (client->naccepts > 0) - isc_socket_cancel(client->tcpsocket, client->task, + isc_socket_cancel(client->tcplistener, client->task, ISC_SOCKCANCEL_ACCEPT); if (client->nreads > 0) dns_tcpmsg_cancelread(&client->tcpmsg);