commit | 8379c17adfb66a50347559427b743db68a1c8e48 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 06 21:29:13 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 09 16:06:21 2013 +0100 |
tree | 25abc4d0e0824e73c0d7bc9af5bedb20a577fe33 | |
parent | f6502c5062334b3b10a31b6056af8a9b9e0e92ff [diff] |
DIET/MINOR: proxy: rearrange a few fields in struct proxy to save 16 bytes Turn the proxy state to a packed enum (1 char), same for the proxy mode, and store the capabitilies as a char. These 3 ints can now fill the hole after obj_type and save 8 bytes in the proxy struct. Moving the maxconn value just after, which is frequently accessed and was in a block of 3 ints saved another 8 bytes.