]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] http: don't mark a server as failed when it returns 501/505
authorWilly Tarreau <w@1wt.eu>
Mon, 15 Mar 2010 18:44:39 +0000 (19:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 Mar 2010 18:44:39 +0000 (19:44 +0100)
commit396504089897fd373c87435eb4d51c6e7ae1f32e
treeb3c3e9ded1a164fb41c80a2fbc6876b215f218b5
parentf53b25d7c187e305d161f181c83c36fce1e8de8b
[MINOR] http: don't mark a server as failed when it returns 501/505

Those two codes can be triggered on demand by client requests.
We must not fail a server on them.

Ideally we should ignore a certain amount of status codes which do
not indicate life nor death.
src/proto_http.c