]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-fcgi: make sure any stream always has an endpoint
authorWilly Tarreau <w@1wt.eu>
Tue, 10 May 2022 13:02:32 +0000 (15:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 12:28:48 +0000 (14:28 +0200)
commitc84610c2aca4ab85080631fb6d24d039ba46973e
tree4b9a280cb153dc0f18a12e5a184e4716379b50a4
parentcd6bb1a5e55a15057ead2a4146a0bd6fa1ccba6b
MINOR: mux-fcgi: make sure any stream always has an endpoint

The principle that each mux stream should have an endpoint is not
guaranteed for closed streams that map to the dummy static streams.
Let's have a dummy endpoint for use with such streams. It only has
the DETACHED flag and a NULL conn_stream, and is referenced by all
the closed streams so that we can afford not to test strm->endp when
trying to access the flags or the CS.
src/mux_fcgi.c