Willy Tarreau
973a54235f
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
2015-08-05 21:51:09 +02:00
..
2015-04-06 11:37:25 +02:00
2015-04-23 17:56:16 +02:00
2015-02-28 23:12:32 +01:00
2014-03-17 18:06:07 +01:00
2015-04-06 11:23:56 +02:00
2015-04-06 11:23:56 +02:00
2015-06-13 22:07:35 +02:00
2015-04-06 11:23:56 +02:00
2015-03-13 00:42:48 +01:00
2007-03-24 17:24:39 +01:00
2015-07-22 16:42:43 +02:00
2015-04-23 17:56:16 +02:00
2014-11-21 20:37:32 +01:00
2014-06-17 17:15:51 +02:00
2015-04-06 11:23:56 +02:00
2011-10-24 18:15:04 +02:00
2015-06-17 20:18:54 +02:00
2009-10-09 07:17:58 +02:00
2012-02-21 22:27:27 +01:00
2009-10-01 11:19:37 +02:00
2009-10-01 11:19:37 +02:00
2009-10-01 21:11:15 +02:00
2013-06-14 19:52:17 +02:00
2015-04-06 11:23:56 +02:00
2015-04-07 15:56:21 +02:00
2015-04-23 17:56:16 +02:00
2014-11-24 15:40:16 +01:00
2015-04-06 11:23:56 +02:00
2015-05-29 15:50:33 +02:00
2009-01-25 13:49:53 +01:00
2009-06-10 12:23:32 +02:00
2015-05-28 17:43:11 +02:00
2015-04-06 11:37:31 +02:00
2015-06-13 22:07:35 +02:00
2015-04-06 11:23:56 +02:00
2015-02-28 23:12:31 +01:00
2015-05-27 16:51:28 +02:00
2015-04-06 11:23:56 +02:00
2012-10-04 22:26:09 +02:00
2015-07-06 16:17:25 +02:00
2015-07-21 23:24:16 +02:00
2015-04-06 11:37:33 +02:00
2014-05-08 22:46:32 +02:00
2012-09-03 20:49:14 +02:00
2015-07-10 11:37:29 +02:00
2015-05-26 12:08:07 +02:00
2015-08-05 21:51:09 +02:00
2015-04-08 18:26:29 +02:00
2015-02-28 23:12:30 +01:00
2006-06-29 18:54:54 +02:00
2015-07-22 00:48:24 +02:00