]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: ensure conn_ctrl_close() also resets the fd
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Oct 2017 15:43:39 +0000 (17:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 22 Oct 2017 07:54:16 +0000 (09:54 +0200)
commit6a0a80adaf8649bda5caa6315cd1fd03a646beae
tree45cb31b1ff2089b80c27be8195b6e932e1152ad0
parentf9ce57e86c9126785a25e5b6625f0f43b17ce210
MINOR: connection: ensure conn_ctrl_close() also resets the fd

The connection's fd was reset to DEAD_FD_MAGIC on conn_force_close()
but not on conn_full_close(), which is a bit strange. Let's do it on
both.
include/proto/connection.h