]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: use the control layer's init/close
authorWilly Tarreau <w@1wt.eu>
Tue, 8 Dec 2020 14:53:45 +0000 (15:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Dec 2020 14:53:45 +0000 (15:53 +0100)
commitc14e7ae74431845c67adafb64abc82687e48e839
treeb18242255db316b5287a1839876e13a59b0574cd
parentde471c46555fb0517103165c9582f83b891ea47f
MINOR: connection: use the control layer's init/close

In conn_ctrl_init() and conn_ctrl_close() we now use the control layer's
functions instead of manipulating the FD directly. This is safe since the
control layer is always present when done. Note that now we also adjust
the flag before calling the function to make things cleaner in case such
a layer would need to call the same functions again for any reason.
include/haproxy/connection.h