]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: update rhttp flags usage
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 16 Nov 2023 16:13:28 +0000 (17:13 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 16 Nov 2023 16:53:31 +0000 (17:53 +0100)
commit8cc3fc73f13fe94d2454996fddd3fc046818ec78
tree72187b1181d46a4af56113cf3a48c2a3df77391b
parent691f4cf449c700c7abedb845557d39cd788264b0
MINOR: connection: update rhttp flags usage

Change the flags used for reversed connection :
* CO_FL_REVERSED is now put after reversal for passive connect. For
  active connect, it is delayed when accept is completed after reversal.
* CO_FL_ACT_REVERSING replace the old CO_FL_REVERSED. It is put only for
  active connect on reversal and removes once accept is done.

This allows to identify a connection as reversed during its whole
lifetime. This should be useful to extend reverse connect.
include/haproxy/connection-t.h
include/haproxy/connection.h
src/connection.c
src/proto_reverse_connect.c