]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DOC: internal: add a bit of documentation for the stconn closing conditions
authorWilly Tarreau <w@1wt.eu>
Tue, 23 May 2023 13:59:19 +0000 (15:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 May 2023 14:18:19 +0000 (16:18 +0200)
commite49e9e64a2f6915f6c7a863183c5dbdc464c1c89
treef5175648b7671a7d545489014730bffd39a8c632
parentb7209d42d95c1e25774d094803db33a028b68179
DOC: internal: add a bit of documentation for the stconn closing conditions

The conditions where ERR, EOS and EOI are found are not always
crystal clear, and the fact that there's still a good bunch of
original ones dating from the early days and that seem to test for
non-existing cases doesn't help either.

After auditing the code base and projecting the 3 main muxes' stream
termination conditions, with Christopher and Amaury we could establish
the current flags matrix which indicates both what each combination
means for each mux and when it is set by each of them (or not set and
for what reason).

It should be sufficient to void doubts when adding code or when chasing
a bug.

It *must not* be backported because it is highly specific to the latest
2.8-dev.
doc/internals/stconn-close.txt [new file with mode: 0644]