]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: provide a reverse-server test with name argument
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 22 Aug 2023 15:01:57 +0000 (17:01 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Aug 2023 15:02:37 +0000 (17:02 +0200)
commitb57f151586eccda6a67ce789152a140eb26e012f
treefab208e186becea91fe953b525a1a4b63f52f8ff
parent1723e21af21e9f1f53f890b4fe999f1e83b3d448
REGTESTS: provide a reverse-server test with name argument

This regtest is similar to the previous one, except the optional name
argument is specified.

An extra haproxy instance is used as a gateway for clear/TLS as vtest
does not support TLS natively.

A first request is done by specifying a name which does not match the
idle connection SNI. This must result in a HTTP 503. Then the correct
name is used which must result in a 200.
reg-tests/connection/ca-auth.crt [new symlink]
reg-tests/connection/client1.pem [new symlink]
reg-tests/connection/reverse_server_name.vtc [new file with mode: 0644]