Thanks Jarno, for the reply. But i don't think this would work for me, I just want to change the status code (return 429 instead of 503) that i can return, if queue timeout occurs for a request..
Please confirm, if this is possible or this sort of provision is even exposed by HAP. On Thu, Nov 17, 2022 at 12:43 PM Jarno Huuskonen <[email protected]> wrote: > Hello, > > On Tue, 2022-11-08 at 09:30 +0530, Chilaka Ramakrishna wrote: > > On queue timeout, currently HAProxy throws 503, But i want to return 429, > > I understand that 4xx means a client problem and client can't help here. > > But due to back compatibility reasons, I want to return 429 instead of > > 503. Is this possible ? > > errorfile 503 /path/to/429.http > (http://cbonte.github.io/haproxy-dconv/2.6/configuration.html#4-errorfile) > > Or maybe it's possible with http-error > (http://cbonte.github.io/haproxy-dconv/2.6/configuration.html#http-error) > > -Jarno > > -- > Jarno Huuskonen >

