Re: modifing default haproxy emit codes

2014-04-02 Thread Patrick Hemmer
You want the errorfile config param. http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#errorfile -Patrick *From: *Piavlo lolitus...@gmail.com *Sent: * 2014-04-02 15:16:22 E *To: *haproxy@formilux.org *Subject:

Re: modifing default haproxy emit codes

2014-04-02 Thread Baptiste
Hi, You can use the errorfile directive with a fake 204 status code in the HTTP file to use as an answer. Check the doc and come back here if you did not manage to configure it. Baptiste On Wed, Apr 2, 2014 at 9:16 PM, Piavlo lolitus...@gmail.com wrote: Hi, According to the docs: Haproxy

Re: modifing default haproxy emit codes

2014-04-02 Thread Piavlo
Hi Baptiste , So if i need webserver to respond within 50ms and if not haproxy should reply with 204 i need: timeout server 50ms errorfile 504 /etc/haproxy/errors/204.http where /etc/haproxy/errors/204.http would be a 204 response with no body? What is the exact action for haproxy to