]> git.kaiwu.me - haproxy.git/commit
MINOR: stream: Add flags to identify the stream tansaction when allocated
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Apr 2026 16:33:36 +0000 (18:33 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Apr 2026 13:19:12 +0000 (15:19 +0200)
commit9d459293410e6be285ca67144ad7c17fd4b35d6d
tree4b94576ea2f23d2b1cbf836660e9a8bec0605ac9
parent594753238c0fe618b661ee14fc5976541a617655
MINOR: stream: Add flags to identify the stream tansaction when allocated

To be able to deal with different types of transaction for a stream, new
stream flags was added to know the transaction type when allocated. For now
only HTTP transactions can be allocated, so only SF_TXN_HTTP was
introduced. The mask SF_TXN_MASK must be used to get the transaction type.

The transaction type is set when it is allocated and removed when it is
destroyed.
include/haproxy/stream-t.h
src/debug.c
src/http_ana.c
src/log.c
src/stconn.c
src/stream.c