commit | 8eeec38bfa86bb126b026539e2b4744c73c701e2 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Apr 06 08:48:16 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Apr 06 08:48:17 2023 +0200 |
tree | c45fbc891afdc4882339f2ab9601a65b29348cd8 | |
parent | b28ded19a496b522568285831555748da0d40615 [diff] |
MINOR: applet: Use unsafe version to get stream from SC in the trace function When a trace message for an applet is dumped, if the SC exists, the stream always exists too. There is no way to attached an applet to a health-check. So, we can use the unsafe version __sc_strm() to get the stream. This patch is related to #2106. Not sure it will be enough for Coverity. However, there is no bug here.