]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: stream: count the number of passes in the connect loop
authorWilly Tarreau <w@1wt.eu>
Tue, 9 Sep 2025 05:05:26 +0000 (07:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 9 Sep 2025 15:56:14 +0000 (17:56 +0200)
commitc3f94fbd9b49a140c10dd6036585d3b76779feb4
treeb21d4fb368ccdf507334702b368a6f4c0997ef91
parent8153cf1e51fb1b722ab2b16a452c043fbf307b56
DEBUG: stream: count the number of passes in the connect loop

Normally the connect loop cannot loop, but some recent traces can easily
convince one of the opposite. Let's add a counter, including in panic
dumps, in order to avoid the repeated long head scratching sessions
starting with "and what if...". In addition, if it's found to loop, this
time it will be certain and will indicate what to zoom in. This should
be backported to 3.2.
include/haproxy/stream-t.h
src/stream.c