]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: conn-stream: Move remaning flags from CS to endpoint
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Mar 2022 09:27:02 +0000 (10:27 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:14 +0000 (15:10 +0200)
commitb041b23ae430889ae9ab40da6c1abecd2cc21c7b
treeea7b41169178ac126d36a6bb1ac76ed52f453faf
parent9ec2f4dc7c3ea4010426361bdbc246b3b0783449
MEDIUM: conn-stream: Move remaning flags from CS to endpoint

All old flags CS_FL_* are now moved in the endpoint scope and renamed
CS_EP_* accordingly. It is a systematic replacement. There is no true change
except for the health-check and the endpoint reset. Here it is a bit special
because the same conn-stream is reused. Thus, we must handle endpoint
allocation errors. To do so, cs_reset_endp() has been adapted.

Thanks to this last change, it will now be possible to simplify the
multiplexer and probably the applets too. A review must also be performed to
remove some flags in the channel or the stream-interface. The HTX will
probably be simplified too. Finally, there is now some place in the
conn-stream to move info from the stream-interface.
19 files changed:
addons/promex/service-prometheus.c
dev/flags/flags.c
include/haproxy/conn_stream-t.h
include/haproxy/conn_stream.h
src/backend.c
src/cache.c
src/check.c
src/conn_stream.c
src/hlua.c
src/http_ana.c
src/http_client.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mux_quic.c
src/stats.c
src/stream_interface.c
src/tcpcheck.c