commit | 973a54235f94137dc6b21ee6ebc4a795ff24e17e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Aug 05 21:47:23 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Aug 05 21:51:09 2015 +0200 |
tree | 41a98fa55d15e845a1d83716cc219a4f15fc6cc5 | |
parent | c12b5e663d91b367f59c9b895d54645c5305e959 [diff] |
MEDIUM: stream-int: simplify si_alloc_conn() Since we now always call this function with the reuse parameter cleared, let's simplify the function's logic as it cannot return the existing connection anymore. The savings on this inline function are appreciable (240 bytes) : $ size haproxy.old haproxy.new text data bss dec hex filename 1020383 40816 36928 1098127 10c18f haproxy.old 1020143 40816 36928 1097887 10c09f haproxy.new