mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
shutdown cancelled accept on wrong socket
This commit is contained in:
parent
721e468db0
commit
f9e00d0112
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user