]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stream: Remove useless tests on conn-stream in stream_dump()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 1 Mar 2022 14:16:57 +0000 (15:16 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 1 Mar 2022 14:22:05 +0000 (15:22 +0100)
commit10c9c74cd1907d73a7972df1173044d29f2a0886
tree53a43ce06e60d8681ea1ebca1370841266a49675
parent0dc70ab799f55f044f976b325f64f8ac246585e2
CLEANUP: stream: Remove useless tests on conn-stream in stream_dump()

Since the recent refactoring on the conn-streams, a stream has always a
defined frontend and backend conn-streams. Thus, in stream_dump(), there is
no reason to still test if these conn-streams are defined.

In addition, still in stream_dump(), get the stream-interfaces using the
conn-streams and not the opposite.

This patch should fix issue #1589 and #1590.
src/stream.c