]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: peers: make use of stream_accept_session()
authorWilly Tarreau <w@1wt.eu>
Sat, 4 Apr 2015 23:35:34 +0000 (01:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:37:34 +0000 (11:37 +0200)
commit342bfb180cb1b85ad80661e61230deff33870ba3
tree5475b1d28e1ec0eec5e2c3e638c777b99f922ab7
parent470280ef632952980a53eb1045ffd5f71082b3fa
MEDIUM: peers: make use of stream_accept_session()

Instead of going through some obscure initialization sequences, we now
rely on the stream code to initialize our stream. Some parts are still
a bit tricky as we cannot call the frontend's accept code which is only
made for appctx in input. So part of the initialization past the stream
code is what ought to be in the frontend code instead. Still, even
without this, these are 71 lines that were removed.
src/peers.c