MINOR: connection: extend conn_reverse() for active reverse
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 7 Aug 2023 12:46:24 +0000 (14:46 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Aug 2023 15:02:37 +0000 (17:02 +0200)
commit008e8f67ee55d43041e7e7564ef78e8a0ed1495c
tree4a69d84f080ba4af9e2faf8b884621d814c6a967
parent5db6dde058cba5e33c40ebf6071d02f79c908003
MINOR: connection: extend conn_reverse() for active reverse

Implement active reverse support inside conn_reverse(). This is used to
transfer the connection from the backend to the frontend side.

A new flag is defined CO_FL_REVERSED which is set just after this
transition. This will be used to identify connections which were
reversed but not yet accepted.
include/haproxy/connection-t.h
src/connection.c