From 7f583be822d0a7b6834cff6ef9f7ab5fda06cc2a Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Fri, 12 Feb 2021 15:22:43 +0100 Subject: [PATCH] REGTESTS: fix sni used in http_reuse_conn_hash for libressl 3.3.0 libressl 3.3.0 is stricter on the sni field and fails if it contains illegal characters such as the underscore. Replace sni field with proper name to pass the test on the CI environment. --- reg-tests/connection/http_reuse_conn_hash.vtc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reg-tests/connection/http_reuse_conn_hash.vtc b/reg-tests/connection/http_reuse_conn_hash.vtc index 7cbf3be97..58118d27d 100644 --- a/reg-tests/connection/http_reuse_conn_hash.vtc +++ b/reg-tests/connection/http_reuse_conn_hash.vtc @@ -49,25 +49,25 @@ haproxy h1 -conf { client c_sni -connect ${h1_feS_sni_sock} { # first request txreq \ - -hdr "x-sni: custom_sni" + -hdr "x-sni: www.custom.com" rxresp expect resp.http.http_first_request == "1" # second request with same sni, connection must be reused txreq \ - -hdr "x-sni: custom_sni" + -hdr "x-sni: www.custom.com" rxresp expect resp.http.http_first_request == "0" # third request with a different sni, a new connection must be used txreq \ - -hdr "x-sni: custom_sni_2" + -hdr "x-sni: www.custom2.com" rxresp expect resp.http.http_first_request == "1" # fourth request, reuse sni2 txreq \ - -hdr "x-sni: custom_sni_2" + -hdr "x-sni: www.custom2.com" rxresp expect resp.http.http_first_request == "0" } -run