bind9/lib
Evan Hunt dc1203b426 resolver: Fixed shutdown processing
- Prevent shutdown races: attach/detach to dns_resolver in dns_fetch_t
  and fctx_t; delay destruction of fctx when finds are still active;
  reference the fctx while canceling; reverse the order of
  fctx_destroy() and empty_bucket().

- Don't resend queries if fetches have been canceled.

- It's possible for fctx_doshutdown() to run before a TCP connection has
  completed. if the query is not on the queries list, then it is not
  canceled, but the adbaddrinfo is freed. when tcp_connected() runs
  later, the query is in an inconstent state. to fix this, we add the
  query to queries before running dns_dispatch_connect(), instead of in
  the connect callback.

- Combined the five fctx_cleanup* functions into a single one.

- Added comments and changed some names to make this code easier to
  understand.
2021-10-02 11:43:59 -07:00
..
bind9 Add "ciphers" options to the "tls" clause 2021-10-01 15:50:43 +03:00
dns resolver: Fixed shutdown processing 2021-10-02 11:43:59 -07:00
irs Check parsed resconf values 2021-08-12 09:52:52 -07:00
isc dispatch: Refactor to eliminate dns_dispatchevent 2021-10-02 11:39:56 -07:00
isccc Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00
isccfg Add "session-tickets" options to the "tls" clause 2021-10-01 15:50:43 +03:00
ns dispatch: Clean up connect and recv callbacks 2021-10-02 11:39:56 -07:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Enforce a run time limit on unit test binaries 2021-04-07 11:41:45 +02:00