Hi Ernesto,

On Thu, Sep 08, 2011 at 10:32:05AM -0400, Ernesto Rodriguez Reina wrote:
> Hi Everyone!
> 
> We move from nginx to haproxy for load balancing and all have been
> great! All we do with nginx (as balancer) we have been able to do it
> using haproxy, except for reprocessing a request on http error 5* from
> upstream servers as we did with nginx using option
> proxy_next_upstream. Is there any way to archive with haproxy the same
> that with nginx proxy_next_upstream [1]?

No, once the request has been sent, it's not in haproxy anymore and cannot
be retried. The only retry we can do consists in trying to connect to
another server if a connection fails. Also, you should keep in mind that
a very small set of requests are allowed to be retransmitted (they're
called idempotent requests in HTTP terminology) and quite commonly the
ones you'd be interested in are not allowed and doing so would be dangerous.

Regards,
Willy


Reply via email to