]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream: add a new target_addr entry in the stream structure
authorWilly Tarreau <w@1wt.eu>
Thu, 18 Jul 2019 13:09:57 +0000 (15:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Jul 2019 11:50:09 +0000 (13:50 +0200)
commit9042060b0b6e610d6770b082346e93a55f88e5f2
tree4b4dafd57db126b07cac1b4d88b5f93ef047c958
parent16aa4aff6bbc92d51c8b781ceb83b234f0b27dc2
MINOR: stream: add a new target_addr entry in the stream structure

The purpose will be to store the target address there and not to
allocate a connection just for this anymore. For now it's only placed
in the struct, a few fields were moved to plug some holes, and the
entry is freed on release (never allocated yet for now). This must
have no impact. Note that in order to fit, the store_count which
previously was an int was turned into a short, which is way more
than enough given that the hard-coded limit is 8.
include/types/stream.h
src/stream.c