mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:23:44 +03:00
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
This commit is contained in:
parent
b4c9982382
commit
25b69c482f
2 changed files with 25 additions and 18 deletions
|
|
@ -37,7 +37,7 @@ http
|
|||
HTTP GET when PROXY Protocol enabled
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/1455 --haproxy-protocol
|
||||
http://%HOSTIP:%HTTPPORT/1455 --haproxy-protocol -H "Testno: 1455"
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
|
|
@ -58,6 +58,7 @@ proxy-line
|
|||
GET /1455 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
Testno: 1455
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue