]> git.kaiwu.me - haproxy.git/commit
MINOR: Allow inlining of `stream_generate_unique_id()`
authorTim Duesterhus <tim@bastelstu.be>
Mon, 13 Apr 2026 17:37:28 +0000 (19:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 Apr 2026 18:01:42 +0000 (20:01 +0200)
commit38796d4c061ed7698e6202d10e6e78c479044cb4
tree5736d1c0cc7fa921631f45028c5c7bec835c0a75
parent73040e3a8ee02a92e5af53aff3a751533c96c99e
MINOR: Allow inlining of `stream_generate_unique_id()`

With the introduction of the `generate_unique_id()` helper, the actual
complicated logic is sitting in a different file. Allow inlining of
`stream_generate_unique_id()`, so that callers can benefit from an abstraction
without hiding away the access of `strm->unique_id` behind a function call.
include/haproxy/log.h
include/haproxy/stream.h
src/stream.c