]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: haterm: Don't init haterm master pipe if not used
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 May 2026 14:41:45 +0000 (16:41 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 May 2026 15:50:50 +0000 (17:50 +0200)
commit1279bd80e9da7b16da2819cc7d113b8236c20e42
tree0d087fe6e7c3fbfc581d7c52b2214c1dde476585
parentb74b5289c8ab27002700416974867edc2ae0676c
MINOR: haterm: Don't init haterm master pipe if not used

There is no reason to initialize the haterm master pipe if haterm is not
used. So now, it is only performed if a non-disabled haterm frontend is
found. To do so, in addition to test the proxy's flags and capabilities, we
also check if "stream_new_from_sc" points on "hstream_new".
src/haterm.c