]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stconn: Fix sc_mux_strm() return value
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Apr 2024 13:29:57 +0000 (15:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Apr 2024 13:31:06 +0000 (15:31 +0200)
commitf58883002c6fd90b3bf8a70e779b7e72e76cec2c
tree81c4165dd0e6968aea5a02f63c566907b924bfb2
parent219d95281a3899172f86e27aca6b6d0d064d3527
BUG/MINOR: stconn: Fix sc_mux_strm() return value

Since the begining, this function returns a pointer on an appctx while it
should be a void pointer. It is the caller responsibility to cast it to the
right type, the corresponding mux stream in this case.

However, it is not a big deal because this function is unused for now. Only
the unsafe one is used.

This patch must be backported as far as 2.6.
include/haproxy/stconn.h