bind9/lib/ns
Witold Kręcicki b0888ff039 Don't issue ns_client_endrequest on a NS_CLIENTSTATE_READY client.
Fix a potential assertion failure on shutdown in ns__client_endrequest.
Scenario:
1. We are shutting down, interface->clientmgr is gone.
2. We receive a packet, it gets through ns__client_request
3. mgr == NULL, return
4. isc_nmhandle_detach calls ns_client_reset_cb
5. ns_client_reset_cb calls ns_client_endrequest
6. INSIST(client->state == NS_CLIENTSTATE_WORKING ||
          client->state == NS_CLIENTSTATE_RECURSING) is not met
   - we haven't started processing this packet so
   client->state == NS_CLIENTSTATE_READY.
As a solution - don't do anything in ns_client_reset_cb if the client
is still in READY state.
2020-02-26 12:15:01 +00:00
..
include fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
tests Use thread-friendly mctxpool and taskpool in ns_client. 2020-02-18 10:31:13 +01:00
win32 apply the modified style 2020-02-13 15:05:06 -08:00
api Bump library API versions for BIND 9.17 2020-02-24 10:56:47 +01:00
client.c Don't issue ns_client_endrequest on a NS_CLIENTSTATE_READY client. 2020-02-26 12:15:01 +00:00
hooks.c apply the modified style 2020-02-13 15:05:06 -08:00
interfacemgr.c Use thread-friendly mctxpool and taskpool in ns_client. 2020-02-18 10:31:13 +01:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
lib.c apply the modified style 2020-02-13 15:05:06 -08:00
listenlist.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
log.c apply the modified style 2020-02-13 15:05:06 -08:00
Makefile.in Add rules to make sure subdirs are always built before testdirs 2019-07-02 12:32:22 +02:00
notify.c apply the modified style 2020-02-13 15:05:06 -08:00
query.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
server.c apply the modified style 2020-02-13 15:05:06 -08:00
sortlist.c apply the modified style 2020-02-13 15:05:06 -08:00
stats.c apply the modified style 2020-02-13 15:05:06 -08:00
update.c some Fossies-reported spelling errors were accidentally left unfixed 2020-02-21 14:12:42 -08:00
version.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
xfrout.c Reformat using the new rules 2020-02-14 09:31:05 +01:00