SV: Incompatible with 'frontend http-request header rule'

2022-03-03 Thread Henning Svane
Hi Christopher I tried your rule and it did not compile, but I am trying to understand it. /haproxy02.cfg:20] : error detected while parsing an 'http-request tarpit' condition : no such ACL : 'http-response' I placed the rule in the frontend, but was thinking if it should be in the backend, as

Always add "reason"

2022-03-03 Thread Marco Corte
Hi! I can add a "reason phrase" to a response based on the HTTP status like this: http-response set-status 200 reason OK if { status eq 200 } Is there any way to add the reason phrase for a set of codes without an explicit rule for each code? I would like to write a set of rules like this

Re: Is there some kind of program that mimics a problematic HTTP server?

2022-03-03 Thread Lukas Tribus
Hello, take a look at how we are using tests with vtc/vtest in doc/regression-testing.txt. Maybe this tool can be useful for your use-case. Lukas