HAProxy redispatch option


#1

Does the HAP redispatch option redispatch a connection when connecting to a backend fails or does it redispatch a request in a connection if connecting to backend fails?

Consider a case where a client C is interacting with App A with instances I1 and I2 with HAP in between. First the request goes to I1, now before I1 sends back the response, if I1 goes down, is the same request redispatched to I2?


#2

Haproxy never resends a request that was already sent. That would cause a number of issues for the application.


#3

Thanks for the confirmation.