]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
tests/pytests/utils: handle SSLEOFError docs-develop-ci-o-45qdxc/deployments/4062
authorOto Šťáva <oto.stava@nic.cz>
Tue, 7 May 2024 14:41:42 +0000 (16:41 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Mon, 13 May 2024 13:09:22 +0000 (15:09 +0200)
commit86490903b5bdab38c5569709208622ec72b0121b
tree50672033ad0d5001a373a46092bd3595c8be78bd
parent883364b7085d4c8d49ced730acafd676623f5ca1
tests/pytests/utils: handle SSLEOFError

It used to just throw BrokenPipeError, but newer versions of Python have
a separate exception for when the connection is closed in violation of
TLS rules, which Knot Resolver does deliberately so as to not waste time
on properly closing TLS connections with misbehaving peers.
tests/pytests/utils.py