Hi again,
Le 19/07/2016 à 14:45, hapr...@abisoft.biz a écrit :
Hi,
The following construction worked in 1.5.4 and doesn't work in 1.6.7:
http-request add-header X-Haproxy-ACL
%[req.fhdr(X-Haproxy-ACL,-1)]over-3-connections-in-10-seconds, if {
src_conn_rate gt 3 }
while the one w/o the comma in the end works in 1.6.7 well:
http-request add-header X-Haproxy-ACL
%[req.fhdr(X-Haproxy-ACL,-1)]over-3-connections-in-10-seconds if {
src_conn_rate gt 3 }
There're no errors, it just doesn't put the value of the custom header
X-Haproxy-ACL in the log.
Is it a bug or a syntax change? What's the new syntax?
Sorry but I can't reproduce your issue, everything works well for both
1.5, 1.6 and 1.7 branches.
Can you provide your whole configuration for each of your tests, and the
steps to reproduce it ?
--
Cyril Bonté