Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
f4c06daf
Commit
f4c06daf
authored
Oct 07, 1999
by
Bob Halley
Browse files
cancel i/o before detaching from socket
parent
1c7ac6d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/named/interfacemgr.c
View file @
f4c06daf
...
...
@@ -248,6 +248,7 @@ ns_interface_destroy(ns_interface_t **ifpret) {
ISC_LIST_UNLINK
(
ifp
->
mgr
->
interfaces
,
ifp
,
link
);
dns_dispatch_detach
(
&
ifp
->
udpdispatch
);
isc_socket_cancel
(
ifp
->
udpsocket
,
NULL
,
ISC_SOCKCANCEL_ALL
);
isc_socket_detach
(
&
ifp
->
udpsocket
);
if
(
ifp
->
tcpsocket
!=
NULL
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment