From 25b69c482f45c7acd817920bd8fdf68887be51a2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 19 Dec 2019 16:45:53 +0100 Subject: sws: search for "Testno:" header uncondtionally if no testno Even if the initial request line wasn't found. With the fix to 1455, the test number is now detected correctly. (Problem found when running tests in random order.) Closes #4744 --- tests/data/test1455 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/data/test1455') diff --git a/tests/data/test1455 b/tests/data/test1455 index cbe6fe22e..8483d7bb8 100644 --- a/tests/data/test1455 +++ b/tests/data/test1455 @@ -37,7 +37,7 @@ http HTTP GET when PROXY Protocol enabled -http://%HOSTIP:%HTTPPORT/1455 --haproxy-protocol +http://%HOSTIP:%HTTPPORT/1455 --haproxy-protocol -H "Testno: 1455" proxy @@ -58,6 +58,7 @@ proxy-line GET /1455 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* +Testno: 1455 -- cgit v1.2.1