mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
shutdown cancelled accept on wrong socket
This commit is contained in:
@@ -109,7 +109,7 @@ maybe_free(ns_client_t *client) {
|
|||||||
REQUIRE(client->shuttingdown == ISC_TRUE);
|
REQUIRE(client->shuttingdown == ISC_TRUE);
|
||||||
|
|
||||||
if (client->naccepts > 0)
|
if (client->naccepts > 0)
|
||||||
isc_socket_cancel(client->tcpsocket, client->task,
|
isc_socket_cancel(client->tcplistener, client->task,
|
||||||
ISC_SOCKCANCEL_ACCEPT);
|
ISC_SOCKCANCEL_ACCEPT);
|
||||||
if (client->nreads > 0)
|
if (client->nreads > 0)
|
||||||
dns_tcpmsg_cancelread(&client->tcpmsg);
|
dns_tcpmsg_cancelread(&client->tcpmsg);
|
||||||
|
Reference in New Issue
Block a user