commit | d015577428dee5aabac5aa3517702dc08480d353 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Oct 14 17:10:08 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 09 15:40:23 2013 +0100 |
tree | 3de54c02ae0cb1acb7ab6766a94b70cfd809e461 | |
parent | f8a49eab4f6ad7cc7e618d9a5e3f56f554215ec8 [diff] |
MINOR: connection: add conn_init() to (re)initialize a connection This function will ease the initialization of new connections as well as their reuse. It initializes the obj_type and a few fields so that the connection is fresh again. It leaves the addresses and target untouched so it is suitable for use across connection retries.