]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tree-wide: Use unsafe conn-stream API when it is relevant
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 28 Feb 2022 08:09:05 +0000 (09:09 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 28 Feb 2022 16:13:36 +0000 (17:13 +0100)
commit693b23bb102ada09b2324804ababc3279d938589
treeae9a0cbc5c016a0d59bbb4dd46a43ca85e9ad916
parente645d88c6b55bccc0a1c4046cd993c73762560c4
MEDIUM: tree-wide: Use unsafe conn-stream API when it is relevant

The unsafe conn-stream API (__cs_*) is now used when we are sure the good
endpoint or application is attached to the conn-stream. This avoids compiler
warnings about possible null derefs. It also simplify the code and clear up
any ambiguity about manipulated entities.
13 files changed:
include/haproxy/stream_interface.h
src/check.c
src/hlua.c
src/http_ana.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_pt.c
src/proxy.c
src/resolvers.c
src/stats.c
src/stream.c
src/stream_interface.c
src/tcpcheck.c