]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[REORG] session: move the data_ctx struct to the stream interface's applet
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2011 10:25:07 +0000 (11:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2011 22:32:16 +0000 (23:32 +0100)
commit295a83772684dc22215431d2d4b607d712cb9935
tree7deb03dba1d2afb96f66f4f59678366e1c795a2a
parent5ec29ffa4280ad4ce8a3a7c0626752572a9ec529
[REORG] session: move the data_ctx struct to the stream interface's applet

This is in fact where those parts belong to. The old data_state was replaced
by applet.state and is now initialized when the applet is registered. It's
worth noting that the applet does not need to know the session nor the
buffer anymore since everything is brought by the stream interface.

It is possible that having a separate applet struct would simplify the
code but that's not a big deal.
include/proto/dumpstats.h
include/proto/proto_http.h
include/types/proto_http.h
include/types/session.h
include/types/stream_interface.h
src/dumpstats.c
src/frontend.c
src/proto_http.c
src/stream_interface.c