Files
bind9/lib/dns
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
..
2021-09-17 07:09:50 +02:00
2020-11-25 08:25:29 +11:00
2021-09-09 15:35:39 +02:00
2021-09-09 15:35:39 +02:00
2021-09-09 15:35:39 +02:00
2021-09-09 15:35:39 +02:00
2021-06-09 14:35:14 +02:00
2021-09-09 15:35:39 +02:00
2021-01-29 12:07:38 +01:00
2021-02-23 09:16:48 +01:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-09-09 15:35:39 +02:00
2021-09-17 07:09:50 +02:00
2021-09-17 07:09:50 +02:00
2021-09-09 15:35:39 +02:00
2021-10-02 11:43:59 -07:00
2021-09-17 07:09:50 +02:00
2021-09-17 07:09:50 +02:00
2021-09-09 15:35:39 +02:00
2021-09-09 15:35:39 +02:00
2021-09-09 15:35:39 +02:00
2021-10-02 11:39:56 -07:00
2021-10-02 11:39:56 -07:00