]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tree-wide: Use CS util functions instead of SI ones
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 25 Mar 2022 15:43:49 +0000 (16:43 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:14 +0000 (15:10 +0200)
commit908628c4c0a3a7f01caeccd7d9a50607daa5ed9f
tree79494ae082e90265c6f51ce015c7f67d73c56dbb
parent1cf9ef25a9769ee653446aa0fad4ceaa55273167
MEDIUM: tree-wide: Use CS util functions instead of SI ones

At many places, we now use the new CS functions to get a stream or a channel
from a conn-stream instead of using the stream-interface API. It is the
first step to reduce the scope of the stream-interfaces. The main change
here is about the applet I/O callback functions. Before the refactoring, the
stream-interface was the appctx owner. Thus, it was heavily used. Now, as
far as possible,the conn-stream is used. Of course, it remains many calls to
the stream-interface API.
30 files changed:
addons/promex/service-prometheus.c
include/haproxy/applet-t.h
include/haproxy/resolvers.h
src/activity.c
src/applet.c
src/backend.c
src/cache.c
src/cli.c
src/debug.c
src/dns.c
src/flt_spoe.c
src/hlua.c
src/http_client.c
src/log.c
src/map.c
src/mux_fcgi.c
src/mworker.c
src/peers.c
src/pool.c
src/proxy.c
src/resolvers.c
src/ring.c
src/server.c
src/sink.c
src/ssl_ckch.c
src/ssl_crtlist.c
src/ssl_sock.c
src/stats.c
src/stick_table.c
src/stream.c