bind9/bin
Michał Kępień 13975b32c6 Fix cleanup upon an error before TCP socket creation
When a query times out after a socket is created and associated with a
given dig_query_t structure, calling isc_socket_cancel() causes
connect_done() to be run, which in turn takes care of all necessary
cleanups.  However, certain errors (e.g. get_address() returning
ISC_R_FAMILYNOSUPPORT) may prevent a TCP socket from being created in
the first place.  Since force_timeout() may be used in code handling
such errors, connect_timeout() needs to properly clean up a TCP query
which is not associated with any socket.  Call clear_query() from
connect_timeout() after attempting to send a TCP query to the next
available server if the timed out query does not have a socket
associated with it, in order to prevent dig from hanging indefinitely
due to the dig_query_t structure not being detached from its parent
dig_lookup_t structure.
2019-01-08 11:17:39 +01:00
..
check update copyrights 2019-01-02 10:20:43 +11:00
confgen update copyrights 2019-01-02 10:20:43 +11:00
delv update copyrights 2019-01-02 10:20:43 +11:00
dig Fix cleanup upon an error before TCP socket creation 2019-01-08 11:17:39 +01:00
dnssec indenting 2019-01-02 10:56:59 +11:00
named update copyrights 2019-01-02 10:20:43 +11:00
nsupdate update copyrights 2019-01-02 10:20:43 +11:00
pkcs11 update copyrights 2019-01-02 10:20:43 +11:00
plugins update copyrights 2019-01-02 10:20:43 +11:00
python update copyrights 2019-01-02 10:20:43 +11:00
rndc update copyrights 2019-01-02 10:20:43 +11:00
tests Track forwarder timeouts in fetch contexts 2019-01-08 08:29:54 +01:00
tools update copyrights 2019-01-02 10:20:43 +11:00
win32/BINDInstall Bump the minimum required Windows version to Windows Vista and Windows Server 2008 2018-08-29 22:03:09 +02:00
Makefile.in name change from "hook modules" to "plugins" 2018-12-06 10:36:50 -08:00