]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stream-int: add si_opposite() to find the other stream interface
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Nov 2014 12:59:31 +0000 (13:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Mar 2015 19:41:47 +0000 (20:41 +0100)
commit50fe03be781e5c4bedf7b1ca3a190e7f87828d71
tree11dae0b623701193729863f0cd103bf6749a1a98
parent4e4292b9af1a5bfb2e2791b6d3b0d5390ac62437
CLEANUP: stream-int: add si_opposite() to find the other stream interface

At a few places we need to find one stream interface from the other one.
Instead of passing via the channel, we simply use the session as an
intermediary, which simply results in applying an offset to the pointer.
include/proto/stream_interface.h
src/hlua.c
src/stream_interface.c