commit | ce9dbcd9ea2dd94bbc21f34fbb9ba7cebfa20e19 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 01 17:12:05 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 09 15:40:22 2013 +0100 |
tree | ab316f7e589444b1b136aec41a04fc6563769663 | |
parent | b363a1f4699972419c1f21dd8906066eab905878 [diff] |
MEDIUM: stream-int: do not allocate a connection in parallel to applets When we know we're not going to use a connection on a stream interface because we're using an applet instead, do not allocate a connection, or release the preallocated one. We do that for peers and CLI only at the moment, and not for HTTP stats which in the future might be adapted to support keep-alive. The connection pointer is simply set to NULL, which pool_free2() already supports.