]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream_interface: Don't bother doing chk_rcv/snd if not connected.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 11 Apr 2019 11:56:26 +0000 (13:56 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 12 Apr 2019 11:14:55 +0000 (13:14 +0200)
commitb2fc04ebef4e7eda23ff445a8b2622f2bb75dec1
treea022c3073c339cfc19df85da9ef4c72c13c10d94
parent56897e20a3d547a94ff8442f3133b2a5a0a21c62
BUG/MEDIUM: stream_interface: Don't bother doing chk_rcv/snd if not connected.

If the interface is not in state SI_ST_CON or SI_ST_EST, don't bother
trying to send/recv data, we can't do it anyway, and if we're in SI_ST_TAR,
that may lead to adding the SI_FL_ERR flag back on the stream_interface,
while we don't want it.

This should be backported to 1.9.
src/stream_interface.c