bind9/bin
Michal Nowak 658cae9fad
Bump socket.create_connection() timeout to 10 seconds
The tcp Pytest on OpenBSD fairly reliably fails when receive_tcp()
on a socket is attempted:

    >           (response, rtime) = dns.query.receive_tcp(sock, timeout())

    tests-tcp.py:50:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    /usr/local/lib/python3.9/site-packages/dns/query.py:659: in receive_tcp
        ldata = _net_read(sock, 2, expiration)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    sock = <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>
    count = 2, expiration = 1662719959.8106785

        def _net_read(sock, count, expiration):
            """Read the specified number of bytes from sock.  Keep trying until we
            either get the desired amount, or we hit EOF.
            A Timeout exception will be raised if the operation is not completed
            by the expiration time.
            """
            s = b''
            while count > 0:
                try:
    >               n = sock.recv(count)
    E               socket.timeout: timed out

This is because the socket is already closed.

Bump the socket connection timeout to 10 seconds.
2022-09-15 11:13:36 +02:00
..
check Remove the isc_app API 2022-08-26 09:09:25 +02:00
confgen Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
delv Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
dig More lenient IDNA processing in dig 2022-09-12 11:40:08 +01:00
dnssec Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
named Add support for reporting status via sd_notify() 2022-09-15 10:12:15 +02:00
nsupdate merge dns_request_createvia() into dns_request_create() 2022-09-14 09:51:08 -07:00
plugins Make isc_ht optionally case insensitive 2022-03-28 15:02:18 -07:00
rndc prevent a possible shutdown hang in rndc 2022-09-12 13:14:19 -07:00
tests Bump socket.create_connection() timeout to 10 seconds 2022-09-15 11:13:36 +02:00
tools merge dns_request_createvia() into dns_request_create() 2022-09-14 09:51:08 -07:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00