]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DIET/MINOR: connection: rearrange a few fields to save 8 bytes in the struct
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Dec 2013 20:09:57 +0000 (21:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 15:06:15 +0000 (16:06 +0100)
commitad5281ca0429c2398022a5eb9109e4c79c7f1ed0
tree02532ed05a66eec9c8f70296fd660f7274f7a84e
parent939478d04dcb1ba27875a45a5ea2246707fe1601
DIET/MINOR: connection: rearrange a few fields to save 8 bytes in the struct

By moving the error code to 8 bits the send_proxy_ofs to 16 bits, and
moving them just after the obj_type, we can save 8 bytes in the struct
connection, down from 328 to 320.
include/types/connection.h