mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-29 06:40:59 +01:00
QUIC and TLS don't use the same tests because QUIC only supports TLS 1.3 while SSL tests both TLS 1.2 and 1.3, which complicates the tests scenarios. This change extracts the core of the test into a single generic ssl_reuse.vtci file and creates new high-level tests for TLSv1.2 over TCP, TLSv1.3 over TCP and TLSv1.3 over QUIC, which simply include this file and set two variables. The test is now cleaner and simpler.
12 lines
550 B
Plaintext
12 lines
550 B
Plaintext
#REGTEST_TYPE=devel
|
|
|
|
# This reg-test tests 2 scenarios with and without resumption tickets, with QUIC/TLSv1.3
|
|
# Each client will try to established a connection, then try to reconnect 20 times resuming.
|
|
|
|
varnishtest "Test if the SSL session/ticket reuse works correctly for QUIC"
|
|
feature cmd "$HAPROXY_PROGRAM -cc 'feature(QUIC) && !feature(QUIC_OPENSSL_COMPAT) && !feature(OPENSSL_WOLFSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1)'"
|
|
|
|
setenv VTC_SOCK_TYPE quic
|
|
setenv TLSV TLSv1.3
|
|
include ${testdir}/../ssl/ssl_reuse.vtci
|