]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Wait longer for the TLS ticket to arrive in our tests 8591/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 28 Nov 2019 10:39:51 +0000 (11:39 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 28 Nov 2019 10:39:51 +0000 (11:39 +0100)
commit8f3568cb0cb9494c7312e8da46e359d9bb1d1e50
treea707797504edbf30eb357176bff1e8c76d16ceb8
parent2de1385e123c3b67c7355ead437cc3a4efc84dce
dnsdist: Wait longer for the TLS ticket to arrive in our tests

In TLS 1.3 the server sends the TLS ticket after the handshake has
been completed, but not necessarily right after that.
Ideally we would like to wait for up to several seconds, but stop
waiting as soon as we receive a ticket. Unfortunately we can't ask
that from `openssl s_client`, and we are currently not always waiting
long enough to get a ticket, leading to spurious failures.
Let's try waiting a bit longer to see if that helps.
regression-tests.dnsdist/test_TLSSessionResumption.py