]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: streams: Don't remove the SI_FL_ERR flag in si_update_both().
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 9 Apr 2019 17:12:51 +0000 (19:12 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 9 Apr 2019 17:31:22 +0000 (19:31 +0200)
commit39cc020af1b4dec97698487957ee08a26fc51768
treeb10a72164a03274d8316008207c7735c7d335d19
parent90caa07935651b5b9ece3606d19ba5d7d45c46e8
BUG/MEDIUM: streams: Don't remove the SI_FL_ERR flag in si_update_both().

Don't inconditionally remove the SI_FL_ERR code in si_update_both(), which
is called at the end of process_stream(). Doing so was a bug that was there
since the flag was introduced, because we were always setting si->flags to
SI_FL_NONE, however we don't want to lose that one, except if we will retry
connecting, so only remove it in sess_update_st_cer().

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