]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proxy: remove the PR_STERROR state
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2020 05:44:34 +0000 (07:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 09:27:30 +0000 (11:27 +0200)
commita17c91b37f9cf421366e5fbda504981916457721
treeffee7380c43f7366c8523d9a306cf133d5f39f24
parent6b3bf733dd74d029e4c0dac7dd387f3aaaa8ef5f
MEDIUM: proxy: remove the PR_STERROR state

This state is only set when a pause() fails but isn't even set when a
resume() fails. And we cannot recover from this state. Instead, let's
just count remaining ready listeners to decide to emit an error or not.
It's more accurate and will better support new attempts if needed.
include/haproxy/proxy-t.h
src/proxy.c