Reqtarpit return code other than 500

Hi guys,

I have the following to return a custom code for http-request tarpit:

“http-request tarpit deny_status {some supported code} if TRUE”

However is there an equivalent way to do it using reqtarpit instead of returning the default 500?

Thanks!

reqtarpit is obsolete and not available in modern haproxy releases anymore, so no, definitely not.

Why would you need reqtarpit?