]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream-int: replace occurrences of si->appctx with si_appctx()
authorWilly Tarreau <w@1wt.eu>
Sun, 1 Dec 2013 08:15:12 +0000 (09:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:23 +0000 (15:40 +0100)
commit7b4b499fde4d63db45148d3460ff060eb3378054
tree1e4908f96566fca35080f403a9bb85dda52ad97e
parent57cd3e46b9cc990e8aae538960a72ceabc49db6e
MEDIUM: stream-int: replace occurrences of si->appctx with si_appctx()

We're about to remove si->appctx, so first let's replace all occurrences
of its usage with a dynamic extract from si->end. A lot of code was changed
by search-n-replace, but the behaviour was intentionally not altered.

The code surrounding calls to stream_int_register_handler() was slightly
changed since we can only use si->end *after* the registration.
include/proto/stream_interface.h
src/dumpstats.c
src/peers.c
src/proto_http.c