]> git.ipfire.org Git - thirdparty/bind9.git/commit
amend! Port the long TCP stream test to Python stepan/tcp-system-test-python 11890/head
authorŠtěpán Balážik <stepan@isc.org>
Wed, 17 Jun 2026 20:37:14 +0000 (22:37 +0200)
committerŠtěpán Balážik <stepan@isc.org>
Wed, 17 Jun 2026 20:37:14 +0000 (22:37 +0200)
commit6f2c8c14f302955373d764b0de3b948645fc9a82
treef8a1a8cb818216d5c994a2e55d3e830a9928e0f7
parent9e065c660baef5c8baf4d1cd990c435d57c57c22
amend! Port the long TCP stream test to Python

Port the long TCP stream test to Python

Previously, the packet.pl script was used to send the a series of frames
to named; this worked by accident as most of these were refused by the
kernel with EAGAIN. packet.pl prints a dot every 1000 packets, so this
slowed the script down and allowed some frames to get through.

Reimplement the test in Python: build the packet with dnspython, send
~6 MiB of data over TCP discarding all replies and then check if the
server is still alive.