bind9/bin/tools
Evan Hunt 8551ad026f dispatch: Fix several connect-related issues
- startrecv() and getnext() have been rewritten.

- Don't set TCP flag when connecting a UDP dispatch.

- Prevent TCP connections from trying to connect twice.

- dns_dispatch_gettcp() can now find a matching TCP dispatch that has
  not yet fully connected, and attach to it.  when the connection is
  completed, the connect callbacks are run for all of the pending
  entries.

- An atomic 'state' variable is now used for connection state instead of
  attributes.

- When dns_dispatch_cancel() is called on a TCP dispatch entry, only
  that one entry is canceled. the dispatch itself should not be shut
  down until there are no dispatch entries left associated with it.

- Other incidental cleanup, including removing DNS_DISPATCHATTR_IPV4 and
  _IPV6 (they were being set in the dispatch attributes but never used),
  cleaning up dns_requestmgr_create(), and renaming dns_dispatch_read()
  to the more descriptive dns_dispatch_resume().
2021-10-02 11:39:56 -07:00
..
.gitignore Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
arpaname.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
arpaname.rst update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
dnstap-read.c Refactored dns_message_t for using attach/detach semantics 2020-09-29 08:22:08 +02:00
dnstap-read.rst update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
Makefile.am Move the include Makefile.tests to the bottom of Makefile.am(s) 2021-06-24 15:33:52 +02:00
mdig.c dispatch: Fix several connect-related issues 2021-10-02 11:39:56 -07:00
mdig.rst Try to improve rrl timing 2020-10-15 00:05:12 +00:00
named-journalprint.c Allow named-journalprint to compact journals at a given serial 2021-05-05 23:12:37 +10:00
named-journalprint.rst Always perform a re-write when processing a version 1 journal 2021-05-05 23:12:37 +10:00
named-nzd2nzf.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
named-nzd2nzf.rst update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
named-rrchecker.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
named-rrchecker.rst update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
nsec3hash.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
nsec3hash.rst update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00