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?

-- 
Best regards,
Alex


Reply via email to