mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-01 22:48:25 +00:00
REGTESTS: silence warning "previous 'http-response' action is final"
The regtest "h1or2_to_h1c" contains both an allow and a deny at the end, likely to help catch rare bugs. But this triggers a warning that we can silence by placing a condition on the penultimate rule.
This commit is contained in:
parent
671f6beac1
commit
04465d25bc
@ -165,7 +165,7 @@ haproxy h1 -conf {
|
||||
http-response set-header sl1-crc "%[res.fhdr(sl1),crc32]"
|
||||
http-response set-header sl2-crc "%[res.fhdr(sl2),crc32]"
|
||||
http-response set-header hdr-crc "%[res.fhdr(hdr),crc32]"
|
||||
http-response allow
|
||||
http-response allow if TRUE
|
||||
http-response deny # must not be evaluated
|
||||
|
||||
server s1 ${s1_addr}:${s1_port}
|
||||
|
Loading…
Reference in New Issue
Block a user