]> git.kaiwu.me - haproxy.git/commit
CLEANUP: http_fetch: Use local `unique_id` variable in `smp_fetch_uniqueid()`
authorTim Duesterhus <tim@bastelstu.be>
Fri, 3 Apr 2026 21:29:01 +0000 (23:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 Apr 2026 12:02:29 +0000 (14:02 +0200)
commit801d028790bd306247373d1a7bd1c5f289980064
treea1ca3f81ca755f101cfb97f2344935c18f1f0c35
parent44a461a19f55fc94952db8ad64e4a611cf09eb65
CLEANUP: http_fetch: Use local `unique_id` variable in `smp_fetch_uniqueid()`

Instead of relying on the implementation detail that
`stream_generate_unique_id()` will store the unique ID in `strm->unique_id` we
should use the returned value, especially since that one is already checked in
the `isttest()`.

Reviewed-by: Volker Dusch <github@wallbash.com>
src/http_fetch.c