mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-16 10:36:55 +00:00
REGTEST: remove stray leading spaces in converteers_ref_cnt_never_dec.vtc
Since commit f92afb732
("MEDIUM: cfgparse: Emit hard error on truncated lines")
we now produce parsing errors on truncated lines, in an effort to clean
up dangerous or broken config files. And it turns out that one of our own
regression tests was suffering from this, as diagnosed by William and Tim.
The cause is the leading spaces in front of "} -start" that vtest makes
part of the output file, so the file finishes with a partial line made
of spaces.
This commit is contained in:
parent
ff4d86becd
commit
a1af38b74e
@ -59,7 +59,7 @@ haproxy h1 -conf {
|
||||
http-request redirect location https://${s1_addr}:${s1_port}/ if { req.hdr(X-Forwarded-For),table_sess_cnt(http1) -m int lt 0 }
|
||||
http-request redirect location https://${s1_addr}:${s1_port}/ if { req.hdr(X-Forwarded-For),table_sess_rate(http1) -m int lt 0 }
|
||||
http-request redirect location https://${s1_addr}:${s1_port}/ if { req.hdr(X-Forwarded-For),table_trackers(http1) -m int lt 0 }
|
||||
} -start
|
||||
} -start
|
||||
|
||||
client c1 -connect ${h1_my_frontend_fd_sock} {
|
||||
txreq -url "/" -hdr "X-Forwarded-For: 127.0.0.1"
|
||||
|
Loading…
Reference in New Issue
Block a user