commit | 9471b8ced9daa52a30106e5dbb58f2283721ec27 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 15 13:31:35 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 16 02:23:53 2013 +0100 |
tree | 1b2ba850a9e018751ae88b375a83a622523e2d70 | |
parent | 16bfb021c844447a43aeb8d5b77e2d92cada9c7f [diff] |
MEDIUM: connection: inform si_alloc_conn() whether existing conn is OK or not When allocating a new connection, only the caller knows whether it's acceptable to reuse the previous one or not. Let's pass this information to si_alloc_conn() which will do the cleanup if the connection is not acceptable.