]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-interface: introduce si_reset() and si_set_state()
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Oct 2013 09:51:38 +0000 (11:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:23 +0000 (15:40 +0100)
commit3ed35ef05bdc773886705bd3b65867441abde4dc
treebbece5d79afa4d87be7b07ed62cd7d81e84df051
parentf79c8171b243296f612cc05998b8775152bba201
MINOR: stream-interface: introduce si_reset() and si_set_state()

The first function is used to (re)initialize a stream interface and
the second to force it into a known state. These are intended for
cleaning up the stream interface initialization code in session.c
and peers.c and avoiding future issues with missing initializations.
include/proto/stream_interface.h
src/peers.c
src/session.c