]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DIET/MINOR: stream-int: rearrange a few fields in struct stream_interface to save...
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Dec 2013 22:31:58 +0000 (23:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 15:06:21 +0000 (16:06 +0100)
commit721854f0ac442754aa315b270e8fb62ef6bf615a
treeb2695940ec4c255c5903b0ed32757e0eddfbaab8
parent2518db4bfa91c97432b07d426650e3b84e6c66ff
DIET/MINOR: stream-int: rearrange a few fields in struct stream_interface to save 8 bytes

The current and previous states are now packed enums instead of ints. This will
also help in gdb. The flags have been turned to 16-bit instead of 32 since only
10 are used. This resulted in saving 8 bytes per streamm interface, or 16 per
session.
include/types/stream_interface.h