]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: Adapt proxy_protocol_random_fail.vtc to match normalized URI too
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Oct 2019 14:22:03 +0000 (16:22 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Oct 2019 20:28:50 +0000 (22:28 +0200)
Now, full URI are reported in logs for H2 requests.

reg-tests/connection/proxy_protocol_random_fail.vtc

index ad4f010e23bfcc889a67614e5e70f5ad6a9fcd44..7fafc43d3ce63f66d2f1b9e58b9558619e85b15b 100644 (file)
@@ -19,7 +19,7 @@ syslog Slog_1 -repeat 8 -level info {
     recv
     expect ~ "Connect from .* to ${h1_ssl_addr}:${h1_ssl_port}"
     recv
-    expect ~ "ssl-offload-http/http .* \"POST /[1-8] HTTP/(2\\.0|1\\.1)\""
+    expect ~ "ssl-offload-http/http .* \"POST (https://.*:${h1_ssl_port})?/[1-8] HTTP/(2\\.0|1\\.1)\""
 } -start
 
 haproxy h1 -conf {