]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: split si_update() into si_update_rx() and si_update_tx()
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Jun 2019 06:19:20 +0000 (08:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Jun 2019 14:36:19 +0000 (16:36 +0200)
commit236c4298b3ef7619761a06dcc85e41453ce2f817
tree4fe7b97364014f6e6ccc1f28dcba8932b5138e55
parentd66ed88a784880e84e91d848beb623bfc72ea83f
MINOR: stream-int: split si_update() into si_update_rx() and si_update_tx()

We should not update the two directions at once, in fact we should update
the Rx path after recv() and the Tx path after send(). Let's start by
splitting the update function in two for this.
include/proto/stream_interface.h
src/stream_interface.c