Changing HA Proxy return codes

From: Matt <mattmoran76#gmail.com>
Date: Wed, 7 Apr 2010 13:34:41 +0100


I'm guessing the answer is no as i'm unable to find anything in the documentation that suggests otherwise, but..

If I wanted to change the error return code submitted by haproxy (not the backend server) is this possible? i.e. change haproxy to return a 502 when it's going to return a 504?

I know the current return codes are correct as of http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html - I could just do with this short hack.

Thanks,

Matt Received on 2010/04/07 14:34

This archive was generated by hypermail 2.2.0 : 2010/04/07 14:45 CEST