]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add FreeBSD connection timeout socket option
authorOndřej Surý <ondrej@sury.org>
Wed, 2 Dec 2020 20:54:25 +0000 (21:54 +0100)
committerOndřej Surý <ondrej@sury.org>
Thu, 3 Dec 2020 08:23:24 +0000 (09:23 +0100)
commit4adeaab73d1a182ec4fed2299ec51edf76cbe2fc
treed30496d91abd49c892936d5c4cb2c10b6773c8bb
parent1d066e4bc5dfcd72a8d82c5318247efb9ed86aae
Add FreeBSD connection timeout socket option

On FreeBSD, the option to configure connection timeout is called
TCP_KEEPINIT, use it to configure the connection timeout there.

This also fixes the dangling socket problems in the unit test, so
re-enable them.
lib/isc/netmgr/netmgr.c
lib/isc/tests/tcp_quota_test.c
lib/isc/tests/tcp_test.c
lib/isc/tests/tcpdns_test.c
lib/isc/tests/udp_test.c