]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: streams: Only re-run process_stream if we're in a connected state.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 10 Apr 2019 11:51:37 +0000 (13:51 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 12 Apr 2019 11:14:48 +0000 (13:14 +0200)
commit56897e20a3d547a94ff8442f3133b2a5a0a21c62
tree859b27a2f73c006b218fa97aadffc56fb95e1f78
parent2b4edfb0bd5d39a1da36b10a4ce562c91d9e7b27
BUG/MEDIUM: streams: Only re-run process_stream if we're in a connected state.

In process_stream(), only try again when there's the SI_FL_ERR flag and we're
in a connected state, otherwise we can loop forever.
It used to work because si_update_both() bogusly removed the SI_FL_ERR flag,
and it would never be set at this point. Now it does, so take that into
account.
Many, many thanks to Maciej Zdeb for reporting the problem, and helping
investigating it.

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