]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: add conn_init() to (re)initialize a connection
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Oct 2013 15:10:08 +0000 (17:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:23 +0000 (15:40 +0100)
commitd015577428dee5aabac5aa3517702dc08480d353
tree3de54c02ae0cb1acb7ab6766a94b70cfd809e461
parentf8a49eab4f6ad7cc7e618d9a5e3f56f554215ec8
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.
include/proto/connection.h