MINOR: protocol: add a new function accept_conn()
authorWilly Tarreau <w@1wt.eu>
Thu, 15 Oct 2020 08:07:46 +0000 (10:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Oct 2020 19:47:56 +0000 (21:47 +0200)
commit1e509a7231ad70ce18760962decbe46b38b8872a
treede536c4c8cbd4377a75fb9fd90b197f3c363d95c
parent7d053e4211fb4cf6def877b91d94b3796e7d34ff
MINOR: protocol: add a new function accept_conn()

This per-protocol function will be used to accept an incoming
connection and return it as a struct connection*. As such the protocol
stack's internal representation of a connection will not need to be
handled by the listener code.
include/haproxy/protocol-t.h