]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream-int: use si_task() to retrieve the task from the stream int
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Nov 2014 11:08:47 +0000 (12:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Mar 2015 19:41:46 +0000 (20:41 +0100)
commit07373b86603c94f2ed27b60d1c745f3fbe6218ac
tree1b6124e53df82e296e57e4d622e439519356c5ab
parentaefd79004cd51a260723b5def4caa09d27ea597a
MEDIUM: stream-int: use si_task() to retrieve the task from the stream int

We go back to the session to get the owner. Here again it's very easy
and is just a matter of relative offsets. Since the owner always exists
and always points to the session's task, we can remove some unneeded
tests.
include/proto/stream_interface.h
src/session.c
src/stream_interface.c