]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream: Use a pcli transaction to replace pcli_* members
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 14 Apr 2026 17:03:39 +0000 (19:03 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Apr 2026 13:19:12 +0000 (15:19 +0200)
commit24e05fe33aad59eb1140398a2c5a4e633a2e5a7e
tree9e548486605fa0c0067653511a9b71d54ddda205
parent9d459293410e6be285ca67144ad7c17fd4b35d6d
MINOR: stream: Use a pcli transaction to replace pcli_* members

A new type of transaction was introduced for master-cli streams. So
SF_TXN_PCLI flag and functions to allocate and destroy PCLI transactions
were added.

In the stream structure, all pcli_* members were moved in the pcli
transaction and the txn union was updated accordingly.

When it was ambiguous, a test on the transaction type was performed. For
instance to destroy the transaciton.
include/haproxy/cli-t.h
include/haproxy/cli.h
include/haproxy/stream-t.h
src/cli.c
src/frontend.c
src/stream.c