bind9/lib
Witold Kręcicki c8dd7e07cd 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.

(cherry picked from commit b0888ff039)
2020-02-27 12:08:02 +00:00
..
bind9 fix spelling errors reported by Fossies. 2020-02-21 07:05:31 +00:00
dns Add an arena to compressctx 2020-02-27 08:54:02 +01:00
irs fix spelling errors reported by Fossies. 2020-02-21 07:05:31 +00:00
isc Use isc_rwlock for isc_result tables 2020-02-27 12:07:16 +01:00
isccc Fixup the missing clang-format bits 2020-02-16 18:07:27 +01:00
isccfg fix spelling errors reported by Fossies. 2020-02-21 07:05:31 +00:00
ns Don't issue ns_client_endrequest on a NS_CLIENTSTATE_READY client. 2020-02-27 12:08:02 +00:00
samples Merge branch '46-enforce-clang-format-rules' into 'master' 2020-02-14 08:45:59 +00:00
win32/bindevt Merge branch 'each-style-tweak' into 'master' 2020-02-14 05:35:29 +00:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00