2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

shutdown cancelled accept on wrong socket

This commit is contained in:
Andreas Gustafsson 2000-01-04 22:05:31 +00:00
parent 721e468db0
commit f9e00d0112

View File

@ -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);