Hi David,

> I just want to say first of all that haproxy is incredibly useful and
> I've enjoyed working with it tremendously. Thank you!
>
> My question is if a server is disabled because of a failed http health
> check and there are requests in flight, will the requests from the
> disabled app be returned to the client?

Yes, the response will be returned. We don't kill because of a failed
health check.



> We are artificially marking servers as down in the event that the
> server is going into maintenance mode and are trying to avoid
> losing at requests.

Note that there is a proper way to do it, checkout:
set server <backend>/<server> state [ ready | drain | maint ]

http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2-set%20server



Regards,

Lukas

                                          

Reply via email to